X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2Fmktemplates%2Ftemplate.mk;h=c151ce155f72641cd42f9ee9f5164799d8db6e2b;hb=f03c2b5496b747b4ef8d3874bd33d26d9549b5d5;hp=dc2d3ea0b89e347bc3872f0aee10c4ecee31628e;hpb=55b8cf13737c994600b5714766c9086644d66fd8;p=bertos.git diff --git a/wizard/mktemplates/template.mk b/wizard/mktemplates/template.mk index dc2d3ea0..c151ce15 100644 --- a/wizard/mktemplates/template.mk +++ b/wizard/mktemplates/template.mk @@ -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,16 +18,73 @@ $pname_PREFIX = $prefix $pname_SUFFIX = $suffix -$pname_CROSS = $cross +$pname_$cpuflag = $cpuname -$pname_MCU = $cpuname - -$pname_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 = \ + $cppasrc + # + +# 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) + +# Files automatically generated by the wizard. DO NOT EDIT, USE $pname_USER_CXXSRC INSTEAD! +$pname_WIZARD_CXXSRC = \ + $cxxsrc + # + +# Files included by the user. +$pname_USER_CXXSRC = \ + # + +# Automatically generated by the wizard. PLEASE DO NOT EDIT! +$pname_CXXSRC = $($pname_WIZARD_CXXSRC) $($pname_USER_CXXSRC) + +# Files automatically generated by the wizard. DO NOT EDIT, USE $pname_USER_ASRC INSTEAD! +$pname_WIZARD_ASRC = \ + $asrc + # + +# 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 +$pname_CPPFLAGS = -D'CPU_FREQ=($cpuclockfreq)' $cppflags +$pname_CPPAFLAGS = $cppaflags +$pname_CXXFLAGS = $cxxflags +$pname_ASFLAGS = $asflags +$pname_ARFLAGS = $arflags