Refactor makefile variables architecture.
[bertos.git] / wizard / mktemplates / template.mk
index 6dfe9b7f580b9a0de6b8a6ff1e071f739e11a484..35896c47af8609d14bf8db8d3c939d9e72dde630 100644 (file)
@@ -8,24 +8,33 @@
 #
 #
 
-# Set to 1 for debug builds
-$pname_DEBUG = 1
+# Include the mk file generated by the wizard
+include $pname/$pname_wiz.mk
 
-# 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_MCU = $cpuname
+# Files included by the user.
+$pname_USER_CXXSRC = \
+       #
 
-$pname_CSRC = \
-       $csrc
+# Files included by the user.
+$pname_USER_ASRC = \
        #
 
-$pname_PCSRC += $pcsrc
+# Programmer interface configuration, see http://dev.bertos.org/wiki/ProgrammerInterface for help
+$pname_PROGRAMMER_TYPE = none
+$pname_PROGRAMMER_PORT = none
 
 
-$pname_CFLAGS = $cflags
-$pname_LDFLAGS = $ldflags
+$cpuparameters