From 5bd8df9d37f1ed4e504ff6b43545ba8300cd2de1 Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 26 Nov 2008 18:59:14 +0000 Subject: 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 --- nuttx/configs/z16f2800100zcog/ostest/Make.defs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nuttx/configs/z16f2800100zcog/ostest/Make.defs') diff --git a/nuttx/configs/z16f2800100zcog/ostest/Make.defs b/nuttx/configs/z16f2800100zcog/ostest/Make.defs index 8f506edcf..58a4dbc5d 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 -- cgit v1.2.3