Restore correct command.
[bertos.git] / wizard / mktemplates / template.mk
index acb72c0228648b2161e1d9429cc01a9021d1841e..fc81e51cab88b90f681281751a0372e58709706a 100644 (file)
@@ -8,27 +8,42 @@
 #
 #
 
-# Constants automatically defined by the selected modules
-$constants
+# Include the mk file generated by the wizard
+include $pname/$pname_wiz.mk
 
-# Our target application
-TRG += $pname
+# Files included by the user.
+$pname_USER_CSRC = \
+       $main \
+       #
 
-$pname_PREFIX = $prefix
+# Automatically generated by the wizard. PLEASE DO NOT EDIT!
+$pname_CSRC = $($pname_WIZARD_CSRC) $($pname_USER_CSRC)
+
+# Files included by the user.
+$pname_USER_PCSRC = \
+       #
 
-$pname_SUFFIX = $suffix
+# Automatically generated by the wizard. PLEASE DO NOT EDIT!
+$pname_PCSRC = $($pname_WIZARD_PCSRC) $($pname_USER_PCSRC)
 
-$pname_CROSS = $cross
+# Files included by the user.
+$pname_USER_CPPASRC = \
+       #
 
-$pname_MCU = $cpuname
+# Automatically generated by the wizard. PLEASE DO NOT EDIT!
+$pname_CPPASRC = $($pname_WIZARD_CPPASRC) $($pname_USER_CPPASRC)
 
-$pname_CSRC = \
-       $csrc
-       $main \
+# Files included by the user.
+$pname_USER_CXXSRC = \
        #
 
-$pname_PCSRC += $pcsrc
+# Automatically generated by the wizard. PLEASE DO NOT EDIT!
+$pname_CXXSRC = $($pname_WIZARD_CXXSRC) $($pname_USER_CXXSRC)
+
+# Files included by the user.
+$pname_USER_ASRC = \
+       #
 
+# Automatically generated by the wizard. PLEASE DO NOT EDIT!
+$pname_ASRC = $($pname_WIZARD_ASRC) $($pname_USER_ASRC)
 
-$pname_CFLAGS = $cflags
-$pname_LDFLAGS = $ldflags