b778e67362f7556bcf070b01d99effc7ac022342
[bertos.git] / wizard / mktemplates / template.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 included by the user.
29 $pname_USER_CSRC = \
30         $main \
31         #
32
33 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
34 $pname_CSRC = $($pname_WIZARD_CSRC) $($pname_USER_CSRC)
35
36 # Files automatically generated by the wizard. DO NOT EDIT, USE $pname_USER_PCSRC INSTEAD!
37 $pname_WIZARD_PCSRC = \
38         $pcsrc
39         #
40
41 # Files included by the user.
42 $pname_USER_PCSRC = \
43         #
44
45 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
46 $pname_PCSRC = $($pname_WIZARD_PCSRC) $($pname_USER_PCSRC)
47
48 # Files automatically generated by the wizard. DO NOT EDIT, USE $pname_USER_CPPASRC INSTEAD!
49 $pname_WIZARD_CPPASRC = \
50         $cppasrc
51         #
52
53 # Files included by the user.
54 $pname_USER_CPPASRC = \
55         #
56
57 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
58 $pname_CPPASRC = $($pname_WIZARD_CPPASRC) $($pname_USER_CPPASRC)
59
60 # Files automatically generated by the wizard. DO NOT EDIT, USE $pname_USER_CXXSRC INSTEAD!
61 $pname_WIZARD_CXXSRC = \
62         $cxxsrc
63         #
64
65 # Files included by the user.
66 $pname_USER_CXXSRC = \
67         #
68
69 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
70 $pname_CXXSRC = $($pname_WIZARD_CXXSRC) $($pname_USER_CXXSRC)
71
72 # Files automatically generated by the wizard. DO NOT EDIT, USE $pname_USER_ASRC INSTEAD!
73 $pname_WIZARD_ASRC = \
74         $asrc
75         #
76
77 # Files included by the user.
78 $pname_USER_ASRC = \
79         #
80
81 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
82 $pname_ASRC = $($pname_WIZARD_ASRC) $($pname_USER_ASRC)
83
84 $pname_CFLAGS = $cflags
85 $pname_LDFLAGS = $ldflags
86 $pname_CPPFLAGS = $cppflags
87 $pname_CPPAFLAGS = -D'CPU_FREQ=($cpuclockfreq)' $cppaflags
88 $pname_CXXFLAGS = $cxxflags
89 $pname_ASFLAGS = $asflags
90 $pname_ARFLAGS = $arflags