summaryrefslogtreecommitdiffstats
path: root/nuttx/configs/z16f2800100zcog
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2008-11-26 18:59:14 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2008-11-26 18:59:14 +0000
commitb098c438db2d18716d5ea91629818000e98a733c (patch)
tree7f0b115adf2e1cc1bca3c37d2093f1aae9ae5aa7 /nuttx/configs/z16f2800100zcog
parent9863ef20c674f5fe40bffb070030bde528460dd3 (diff)
Need pre-processor support for auto-generation of source file
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@1312 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/configs/z16f2800100zcog')
-rw-r--r--nuttx/configs/z16f2800100zcog/ostest/Make.defs5
-rwxr-xr-xnuttx/configs/z16f2800100zcog/pashello/Make.defs5
2 files changed, 10 insertions, 0 deletions
diff --git a/nuttx/configs/z16f2800100zcog/ostest/Make.defs b/nuttx/configs/z16f2800100zcog/ostest/Make.defs
index 8f506edcfe..58a4dbc5d5 100644
--- a/nuttx/configs/z16f2800100zcog/ostest/Make.defs
+++ b/nuttx/configs/z16f2800100zcog/ostest/Make.defs
@@ -129,6 +129,11 @@ EXEEXT = .hex
# to compile and assembly source files and to insert the resulting
# object files into an archive
+define PREPROCESS
+ @echo "CPP: $1->$2"
+ @$(CPP) $(CPPFLAGS) $1 -o $2
+endef
+
define COMPILE
@#echo "CC: $1"
@$(CC) $(CFLAGS) $1
diff --git a/nuttx/configs/z16f2800100zcog/pashello/Make.defs b/nuttx/configs/z16f2800100zcog/pashello/Make.defs
index d412b6391f..d77b201b90 100755
--- a/nuttx/configs/z16f2800100zcog/pashello/Make.defs
+++ b/nuttx/configs/z16f2800100zcog/pashello/Make.defs
@@ -129,6 +129,11 @@ EXEEXT = .hex
# to compile and assembly source files and to insert the resulting
# object files into an archive
+define PREPROCESS
+ @echo "CPP: $1->$2"
+ @$(CPP) $(CPPFLAGS) $1 -o $2
+endef
+
define COMPILE
@#echo "CC: $1"
@$(CC) $(CFLAGS) $1