mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Need pre-processor support for auto-generation of source file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1312 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -67,6 +67,11 @@ OBJEXT = .o
|
||||
LIBEXT = .lib
|
||||
EXEEXT = .cmd
|
||||
|
||||
define PREPROCESS
|
||||
@echo "CPP: $1->$2"
|
||||
@$(CPP) $(CPPFLAGS) $1 -o $2
|
||||
endef
|
||||
|
||||
define COMPILE
|
||||
@echo "CC: $1"
|
||||
@$(CC) -c $(CFLAGS) $1 -o $2
|
||||
|
||||
Reference in New Issue
Block a user