X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2Fmktemplates%2Ftemplate.mk;h=155b8f95b4d3acd14b515d2592440d8b113fb90f;hb=704dc72c040f2e768aa8e426dc18459dcea42ed5;hp=f6b8e8501e95ac4c80b42b5ef0873d49bfc466a1;hpb=4ac9b7fcfcf4c765b05a9db68edf154c020f0af4;p=bertos.git diff --git a/wizard/mktemplates/template.mk b/wizard/mktemplates/template.mk index f6b8e850..155b8f95 100644 --- a/wizard/mktemplates/template.mk +++ b/wizard/mktemplates/template.mk @@ -8,83 +8,48 @@ # # -# Constants automatically defined by the selected modules -$constants - -# Our target application -TRG += $pname - -$pname_PREFIX = $prefix - -$pname_SUFFIX = $suffix - -$pname_$cpuflag = $cpuname - -# Files automatically generated by the wizard. DO NOT EDIT, USE $pname_USER_CSRC INSTEAD! -$pname_WIZARD_CSRC = \ - $csrc - # +# Include the mk file generated by the wizard +include $pname/$pname_wiz.mk # 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 = \ # # Files included by the user. -$pname_USER_CXXSRC = \ +$pname_USER_ASRC = \ # +# Programmer interface configuration, see http://dev.bertos.org/wiki/ProgrammerInterface for help +$pname_PROGRAMMER_TYPE = none +$pname_PROGRAMMER_PORT = none + +####### End of configurable section, do not edit the lines below! ####### + # Automatically generated by the wizard. PLEASE DO NOT EDIT! -$pname_CXXSRC = $($pname_WIZARD_CXXSRC) $($pname_USER_CXXSRC) +$pname_CSRC = $($pname_WIZARD_CSRC) $($pname_USER_CSRC) -# Files automatically generated by the wizard. DO NOT EDIT, USE $pname_USER_ASRC INSTEAD! -$pname_WIZARD_ASRC = \ - $asrc - # +# Automatically generated by the wizard. PLEASE DO NOT EDIT! +$pname_PCSRC = $($pname_WIZARD_PCSRC) $($pname_USER_PCSRC) -# Files included by the user. -$pname_USER_ASRC = \ - # +# Automatically generated by the wizard. PLEASE DO NOT EDIT! +$pname_CPPASRC = $($pname_WIZARD_CPPASRC) $($pname_USER_CPPASRC) + +# Automatically generated by the wizard. PLEASE DO NOT EDIT! +$pname_CXXSRC = $($pname_WIZARD_CXXSRC) $($pname_USER_CXXSRC) # 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)' $cppflags -$pname_CPPAFLAGS = $cppaflags -$pname_CXXFLAGS = $cxxflags -$pname_ASFLAGS = $asflags -$pname_ARFLAGS = $arflags