Add template flags for users.
[bertos.git] / wizard / mktemplates / template.mk
index 863bc13a4bda48048a51b378d077ccd6ebef7676..99607a8af11850cacdae25b95e16ad2e96b4532e 100644 (file)
@@ -8,27 +8,42 @@
 #
 #
 
-# Set to 1 for debug builds
-$pname_DEBUG = 1
+# Programmer interface configuration, see http://dev.bertos.org/wiki/ProgrammerInterface for help
+$pname_PROGRAMMER_TYPE = none
+$pname_PROGRAMMER_PORT = none
 
-# Our target application
-TRG += $pname
+# Files included by the user.
+$pname_USER_CSRC = \
+       $main \
+       #
 
-$pname_PREFIX = $prefix
+# Files included by the user.
+$pname_USER_PCSRC = \
+       #
 
-$pname_SUFFIX = $suffix
+# Files included by the user.
+$pname_USER_CPPASRC = \
+       #
 
-$pname_CROSS = $cross
+# Files included by the user.
+$pname_USER_CXXSRC = \
+       #
 
-$pname_MCU = $cpuname
+# Files included by the user.
+$pname_USER_ASRC = \
+       #
 
-$pname_CSRC = \
-       $csrc
-       $main \
+# Flags included by the user.
+$pname_USER_LDFLAGS = \
        #
 
-$pname_PCSRC += $pcsrc
+# Flags included by the user.
+$pname_USER_CPPAFLAGS = \
+       #
 
+# Flags included by the user.
+$pname_CPU_CPPFLAGS = \
+       #
 
-$pname_CFLAGS = $cflags
-$pname_LDFLAGS = $ldflags
+# Include the mk file generated by the wizard
+include $pname/$pname_wiz.mk