-
Notifications
You must be signed in to change notification settings - Fork 541
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Application.mk:define main entry MAINNAME relatively
when a program has multiple MAINSRC for incremental compilation, the PROGNAME of the compiled file may generate errors -------------------- compile definition error --------------------- cc -c -g CFLAGS INCLUDEDIR -Dmain=funA_main funB.c -o funB.c.path.o ^^^^ ^^^^^^ ^^^^ ------------------------------------------------------------------- use the MAINOBJ:PROGNAME mapping variable to define the main entry name Signed-off-by: xuxin19 <[email protected]>
- Loading branch information
1 parent
8aa3c1e
commit 4765cc3
Showing
3 changed files
with
38 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters