Refactor for clarity.
[bertos.git] / wizard / mktemplates / template.mk
index 281b772aab3b34586b25b46e0522086a887dabd2..96e6928ef5350b972b43a28c6e10ccf62740d557 100644 (file)
@@ -8,26 +8,30 @@
 #
 #
 
-# 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
-CPU = cpuname
-BOOT_ADDR_START = 0x1E000
-
-pname_PREFIX = prefix
-
-pname_SUFFIX = suffix
+# Files included by the user.
+$pname_USER_CSRC = \
+       $main \
+       #
 
-pname_MCU = $(CPU)
+# Files included by the user.
+$pname_USER_PCSRC = \
+       #
 
-pname_CSRC = \
-       csrc
+# Files included by the user.
+$pname_USER_CPPASRC = \
        #
 
-pname_PCSRC += pcsrc
+# Files included by the user.
+$pname_USER_CXXSRC = \
+       #
 
+# Files included by the user.
+$pname_USER_ASRC = \
+       #
 
-pname_CFLAGS = cflags
-pname_LDFLAGS = ldflags
+# Include the mk file generated by the wizard
+include $pname/$pname_wiz.mk