Refactor makefile variables architecture.
[bertos.git] / wizard / mktemplates / template_wiz.mk
1 #
2 # Copyright 2009 Develer S.r.l. (http://www.develer.com/)
3 # All rights reserved.
4 #
5 # Makefile template for BeRTOS wizard.
6 #
7 # Author: Lorenzo Berni <duplo@develer.com>
8 #
9 #
10
11 # Constants automatically defined by the selected modules
12 $constants
13
14 # Our target application
15 TRG += $pname
16
17 $pname_PREFIX = "$prefix"
18
19 $pname_SUFFIX = "$suffix"
20
21 $pname_$cpuflag = $cpuname
22
23 # Files automatically generated by the wizard. DO NOT EDIT, USE $pname_USER_CSRC INSTEAD!
24 $pname_WIZARD_CSRC = \
25         $csrc
26         #
27
28 # Files automatically generated by the wizard. DO NOT EDIT, USE $pname_USER_PCSRC INSTEAD!
29 $pname_WIZARD_PCSRC = \
30         $pcsrc
31         #
32
33 # Files automatically generated by the wizard. DO NOT EDIT, USE $pname_USER_CPPASRC INSTEAD!
34 $pname_WIZARD_CPPASRC = \
35         $cppasrc
36         #
37
38 # Files automatically generated by the wizard. DO NOT EDIT, USE $pname_USER_CXXSRC INSTEAD!
39 $pname_WIZARD_CXXSRC = \
40         $cxxsrc
41         #
42
43 # Files automatically generated by the wizard. DO NOT EDIT, USE $pname_USER_ASRC INSTEAD!
44 $pname_WIZARD_ASRC = \
45         $asrc
46         #
47
48 $pname_CPPFLAGS = -D'CPU_FREQ=($cpuclockfreqUL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$pname/ $($pname_CPU_CPPFLAGS)
49
50 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
51 $pname_CSRC = $($pname_WIZARD_CSRC) $($pname_USER_CSRC)
52
53 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
54 $pname_PCSRC = $($pname_WIZARD_PCSRC) $($pname_USER_PCSRC)
55
56 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
57 $pname_CPPASRC = $($pname_WIZARD_CPPASRC) $($pname_USER_CPPASRC)
58
59 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
60 $pname_CXXSRC = $($pname_WIZARD_CXXSRC) $($pname_USER_CXXSRC)
61
62 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
63 $pname_ASRC = $($pname_WIZARD_ASRC) $($pname_USER_ASRC)