summaryrefslogtreecommitdiffstats
path: root/nuttx/configs/z8encore000zco
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/z8encore000zco
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/z8encore000zco')
-rw-r--r--nuttx/configs/z8encore000zco/ostest/Make.defs5
1 files changed, 5 insertions, 0 deletions
diff --git a/nuttx/configs/z8encore000zco/ostest/Make.defs b/nuttx/configs/z8encore000zco/ostest/Make.defs
index 1efab1b0f7..87fa8df2a1 100644
--- a/nuttx/configs/z8encore000zco/ostest/Make.defs
+++ b/nuttx/configs/z8encore000zco/ostest/Make.defs
@@ -155,6 +155,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