Split csrc, pcsrc and cppasrc in user-created and wizard-created.
[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_CROSS = $cross
22
23 $pname_MCU = $cpuname
24
25 # Files automatically generated by the wizard. DO NOT EDIT, USE $pname_USER_CSRC INSTEAD!
26 $pname_WIZARD_CSRC = \
27         $csrc
28         #
29
30 # Files included by the user.
31 $pname_USER_CSRC = \
32         $main \
33         #
34
35 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
36 $pname_CSRC = $($pname_WIZARD_CSRC) $($pname_USER_CSRC)
37
38 # Files automatically generated by the wizard. DO NOT EDIT, USE $pname_USER_PCSRC INSTEAD!
39 $pname_WIZARD_PCSRC = \
40         $pcsrc
41         #
42
43 # Files included by the user.
44 $pname_USER_PCSRC = \
45         #
46
47 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
48 $pname_PCSRC = $($pname_WIZARD_PCSRC) $($pname_USER_PCSRC)
49
50 # Files automatically generated by the wizard. DO NOT EDIT, USE $pname_USER_CPPASRC INSTEAD!
51 $pname_WIZARD_CPPASRC = \
52         $asrc
53         #
54
55 # Files included by the user.
56 $pname_USER_CPPASRC = \
57         #
58
59 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
60 $pname_CPPASRC = $($pname_WIZARD_CPPASRC) $($pname_USER_CPPASRC)
61
62 $pname_CFLAGS = $cflags
63 $pname_LDFLAGS = $ldflags