Add constants at the beginning of the mk file
[bertos.git] / wizard / mktemplates / template.mk
index 6dfe9b7f580b9a0de6b8a6ff1e071f739e11a484..acb72c0228648b2161e1d9429cc01a9021d1841e 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,10 +18,13 @@ $pname_PREFIX = $prefix
 
 $pname_SUFFIX = $suffix
 
+$pname_CROSS = $cross
+
 $pname_MCU = $cpuname
 
 $pname_CSRC = \
        $csrc
+       $main \
        #
 
 $pname_PCSRC += $pcsrc