X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=wizard%2Fmktemplates%2Ftemplate.mk;h=ef9d934d2d438fe3aa6acf8287d375230aa75eab;hb=76c3a84c29c451d164575134b29986f3bbc42656;hp=ca87743f103fd1f70c5f70fe97126c18f86bcd2a;hpb=f89fe8efdb8b81d7d1f29e241df3b40042c42712;p=bertos.git diff --git a/wizard/mktemplates/template.mk b/wizard/mktemplates/template.mk index ca87743f..ef9d934d 100644 --- a/wizard/mktemplates/template.mk +++ b/wizard/mktemplates/template.mk @@ -1,11 +1,6 @@ # -# 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. # # Constants automatically defined by the selected modules @@ -18,6 +13,10 @@ $pname_PREFIX = "$prefix" $pname_SUFFIX = "$suffix" +$pname_SRC_PATH = $ppath + +$pname_HW_PATH = $hwpath + # Files automatically generated by the wizard. DO NOT EDIT, USE $pname_USER_CSRC INSTEAD! $pname_WIZARD_CSRC = \ $csrc @@ -43,7 +42,7 @@ $pname_WIZARD_ASRC = \ $asrc # -$pname_CPPFLAGS = -D'CPU_FREQ=($cpuclockfreqUL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$pname/ $($pname_CPU_CPPFLAGS) $($pname_USER_CPPFLAGS) +$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) @@ -70,4 +69,4 @@ $pname_ASRC = $($pname_CPU_ASRC) $($pname_WIZARD_ASRC) $($pname_USER_ASRC) # Automatically generated by the wizard. PLEASE DO NOT EDIT! $cpuparameters -include $ppath/$pname_user.mk +include $($pname_SRC_PATH)/$pname_user.mk