X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2Fmktemplates%2Ftemplate.mk;h=3efbaa0c4e7c83d159aac335bfb9ed856aaa561a;hb=842d775fbc48bf6a66941d66aa93e9912bed2add;hp=281b772aab3b34586b25b46e0522086a887dabd2;hpb=4bd6a37ba9ce30f09fb73d7006c77524c558993b;p=bertos.git diff --git a/wizard/mktemplates/template.mk b/wizard/mktemplates/template.mk index 281b772a..3efbaa0c 100644 --- a/wizard/mktemplates/template.mk +++ b/wizard/mktemplates/template.mk @@ -8,26 +8,54 @@ # # -# Set to 1 for debug builds -pname_DEBUG = 1 +# Constants automatically defined by the selected modules +$constants # Our target application -TRG += pname -CPU = cpuname -BOOT_ADDR_START = 0x1E000 +TRG += $pname -pname_PREFIX = prefix +$pname_PREFIX = $prefix -pname_SUFFIX = suffix +$pname_SUFFIX = $suffix -pname_MCU = $(CPU) +$pname_MCU = $cpuname -pname_CSRC = \ - csrc +# Files automatically generated by the wizard. DO NOT EDIT, USE $pname_USER_CSRC INSTEAD! +$pname_WIZARD_CSRC = \ + $csrc # -pname_PCSRC += pcsrc +# Files included by the user. +$pname_USER_CSRC = \ + $main \ + # + +# Automatically generated by the wizard. PLEASE DO NOT EDIT! +$pname_CSRC = $($pname_WIZARD_CSRC) $($pname_USER_CSRC) + +# Files automatically generated by the wizard. DO NOT EDIT, USE $pname_USER_PCSRC INSTEAD! +$pname_WIZARD_PCSRC = \ + $pcsrc + # + +# Files included by the user. +$pname_USER_PCSRC = \ + # + +# Automatically generated by the wizard. PLEASE DO NOT EDIT! +$pname_PCSRC = $($pname_WIZARD_PCSRC) $($pname_USER_PCSRC) + +# Files automatically generated by the wizard. DO NOT EDIT, USE $pname_USER_CPPASRC INSTEAD! +$pname_WIZARD_CPPASRC = \ + $asrc + # + +# Files included by the user. +$pname_USER_CPPASRC = \ + # +# Automatically generated by the wizard. PLEASE DO NOT EDIT! +$pname_CPPASRC = $($pname_WIZARD_CPPASRC) $($pname_USER_CPPASRC) -pname_CFLAGS = cflags -pname_LDFLAGS = ldflags +$pname_CFLAGS = $cflags +$pname_LDFLAGS = $ldflags