doc: Doxyfile refactor, use common file to be included.
[bertos.git] / wizard / mktemplates / template.mk
index 281b772aab3b34586b25b46e0522086a887dabd2..4e1b84403f8b4cba34e7dff9f11bfea1d3fe2fb4 100644 (file)
@@ -8,26 +8,44 @@
 #
 #
 
-# 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
+# Files included by the user.
+$pname_USER_CSRC = \
+       $main \
+       #
+
+# Files included by the user.
+$pname_USER_PCSRC = \
+       #
 
-pname_PREFIX = prefix
+# Files included by the user.
+$pname_USER_CPPASRC = \
+       #
 
-pname_SUFFIX = suffix
+# Files included by the user.
+$pname_USER_CXXSRC = \
+       #
 
-pname_MCU = $(CPU)
+# Files included by the user.
+$pname_USER_ASRC = \
+       #
 
-pname_CSRC = \
-       csrc
+# 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_USER_CPPFLAGS = \
+       -fno-strict-aliasing \
+       -fwrapv \
+       #
 
-pname_CFLAGS = cflags
-pname_LDFLAGS = ldflags
+# Include the mk file generated by the wizard
+include $pname/$pname_wiz.mk