X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2Fmktemplates%2Ftemplate.mk;h=a411a81506a43dec059ff54587c0ad066d8020f9;hb=082aea775c60bbccb3883e2a2e8009281d92c20a;hp=4c3b886c3a7a17698e8aab61ac6cc773e4e60498;hpb=661f04451a42280343524725622a0675ea6ee9ab;p=bertos.git diff --git a/wizard/mktemplates/template.mk b/wizard/mktemplates/template.mk index 4c3b886c..a411a815 100644 --- a/wizard/mktemplates/template.mk +++ b/wizard/mktemplates/template.mk @@ -14,23 +14,77 @@ $constants # Our target application TRG += $pname -$pname_PREFIX = $prefix +$pname_PREFIX = "$prefix" -$pname_SUFFIX = $suffix +$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 + # + +# Files included by the user. +$pname_USER_CSRC = \ $main \ # -$pname_PCSRC += \ +# 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=($cpuclockfreqUL)' -D'ARCH=(ARCH_DEFAULT)' $cppflags -I$pname/ +$pname_CPPAFLAGS = $cppaflags +$pname_CXXFLAGS = $cxxflags +$pname_ASFLAGS = $asflags +$pname_ARFLAGS = $arflags