X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2Fmktemplates%2Ftemplate.mk;h=cf63352d7a3e257be4dd2099ad182c74a1822b35;hb=106d1edb5fc1984143fa299009ef823bd21ee6c5;hp=4e1b84403f8b4cba34e7dff9f11bfea1d3fe2fb4;hpb=6953d48e79cb638f537db670eab689e0a1c6267d;p=bertos.git diff --git a/wizard/mktemplates/template.mk b/wizard/mktemplates/template.mk index 4e1b8440..cf63352d 100644 --- a/wizard/mktemplates/template.mk +++ b/wizard/mktemplates/template.mk @@ -1,51 +1,72 @@ # -# Copyright 2009 Develer S.r.l. (http://www.develer.com/) -# All rights reserved. -# -# Makefile template for BeRTOS wizard. -# -# Author: Lorenzo Berni -# +# Wizard autogenerated makefile. +# DO NOT EDIT, use the $pname_user.mk file instead. # -# Programmer interface configuration, see http://dev.bertos.org/wiki/ProgrammerInterface for help -$pname_PROGRAMMER_TYPE = none -$pname_PROGRAMMER_PORT = none +# Constants automatically defined by the selected modules +$constants -# Files included by the user. -$pname_USER_CSRC = \ - $main \ - # +# Our target application +TRG += $pname -# Files included by the user. -$pname_USER_PCSRC = \ - # +$pname_PREFIX = "$prefix" -# Files included by the user. -$pname_USER_CPPASRC = \ - # +$pname_SUFFIX = "$suffix" + +$pname_SRC_PATH = $ppath -# Files included by the user. -$pname_USER_CXXSRC = \ +$pname_HW_PATH = $hwpath + +# 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_ASRC = \ +# Files automatically generated by the wizard. DO NOT EDIT, USE $pname_USER_PCSRC INSTEAD! +$pname_WIZARD_PCSRC = \ + $pcsrc # -# Flags included by the user. -$pname_USER_LDFLAGS = \ +# Files automatically generated by the wizard. DO NOT EDIT, USE $pname_USER_CPPASRC INSTEAD! +$pname_WIZARD_CPPASRC = \ + $cppasrc # -# Flags included by the user. -$pname_USER_CPPAFLAGS = \ +# Files automatically generated by the wizard. DO NOT EDIT, USE $pname_USER_CXXSRC INSTEAD! +$pname_WIZARD_CXXSRC = \ + $cxxsrc # -# Flags included by the user. -$pname_USER_CPPFLAGS = \ - -fno-strict-aliasing \ - -fwrapv \ +# Files automatically generated by the wizard. DO NOT EDIT, USE $pname_USER_ASRC INSTEAD! +$pname_WIZARD_ASRC = \ + $asrc # -# Include the mk file generated by the wizard -include $pname/$pname_wiz.mk +$pname_CPPFLAGS = -D'CPU_FREQ=($cpuclockfreqUL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$($pname_HW_PATH) -I$($pname_SRC_PATH) $($pname_CPU_CPPFLAGS) $($pname_USER_CPPFLAGS) + +# Automatically generated by the wizard. PLEASE DO NOT EDIT! +$pname_LDFLAGS = $($pname_CPU_LDFLAGS) $($pname_WIZARD_LDFLAGS) $($pname_USER_LDFLAGS) + +# Automatically generated by the wizard. PLEASE DO NOT EDIT! +$pname_CPPAFLAGS = $($pname_CPU_CPPAFLAGS) $($pname_WIZARD_CPPAFLAGS) $($pname_USER_CPPAFLAGS) + +# Automatically generated by the wizard. PLEASE DO NOT EDIT! +$pname_CSRC = $($pname_CPU_CSRC) $($pname_WIZARD_CSRC) $($pname_USER_CSRC) + +# Automatically generated by the wizard. PLEASE DO NOT EDIT! +$pname_PCSRC = $($pname_CPU_PCSRC) $($pname_WIZARD_PCSRC) $($pname_USER_PCSRC) + +# Automatically generated by the wizard. PLEASE DO NOT EDIT! +$pname_CPPASRC = $($pname_CPU_CPPASRC) $($pname_WIZARD_CPPASRC) $($pname_USER_CPPASRC) + +# Automatically generated by the wizard. PLEASE DO NOT EDIT! +$pname_CXXSRC = $($pname_CPU_CXXSRC) $($pname_WIZARD_CXXSRC) $($pname_USER_CXXSRC) + +# Automatically generated by the wizard. PLEASE DO NOT EDIT! +$pname_ASRC = $($pname_CPU_ASRC) $($pname_WIZARD_ASRC) $($pname_USER_ASRC) + +# CPU specific flags and options, defined in the CPU definition files. +# Automatically generated by the wizard. PLEASE DO NOT EDIT! +$cpuparameters + +include $ppath/$pname_user.mk