Refactor for clarity.
[bertos.git] / wizard / mktemplates / template.mk
index e55bd89be3d09f02e9f7684c1f53e3ec24dfc6c1..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