Add the # at the end of PCSRC in the .mk template
[bertos.git] / wizard / mktemplates / template.mk
index 6dfe9b7f580b9a0de6b8a6ff1e071f739e11a484..4c3b886c3a7a17698e8aab61ac6cc773e4e60498 100644 (file)
@@ -8,8 +8,8 @@
 #
 #
 
-# Set to 1 for debug builds
-$pname_DEBUG = 1
+# Constants automatically defined by the selected modules
+$constants
 
 # Our target application
 TRG += $pname
@@ -18,13 +18,18 @@ $pname_PREFIX = $prefix
 
 $pname_SUFFIX = $suffix
 
+$pname_CROSS = $cross
+
 $pname_MCU = $cpuname
 
 $pname_CSRC = \
        $csrc
+       $main \
        #
 
-$pname_PCSRC += $pcsrc
+$pname_PCSRC += \
+       $pcsrc
+       #
 
 
 $pname_CFLAGS = $cflags