projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make BWizard generic: now it can be used for both creating and editing projects
[bertos.git]
/
wizard
/
mktemplates
/
template.mk
diff --git
a/wizard/mktemplates/template.mk
b/wizard/mktemplates/template.mk
index dc2d3ea0b89e347bc3872f0aee10c4ecee31628e..8c2f31b8a4c3645f6077d2e7e9549cdfaa6f50b6 100644
(file)
--- a/
wizard/mktemplates/template.mk
+++ b/
wizard/mktemplates/template.mk
@@
-8,8
+8,8
@@
#
#
#
#
-#
Set to 1 for debug build
s
-$
pname_DEBUG = 1
+#
Constants automatically defined by the selected module
s
+$
constants
# Our target application
TRG += $pname
# Our target application
TRG += $pname
@@
-24,10
+24,16
@@
$pname_MCU = $cpuname
$pname_CSRC = \
$csrc
$pname_CSRC = \
$csrc
+ $main \
#
#
-$pname_PCSRC += $pcsrc
+$pname_PCSRC += \
+ $pcsrc
+ #
+$pname_CPPASRC += \
+ $asrc
+ #
$pname_CFLAGS = $cflags
$pname_LDFLAGS = $ldflags
$pname_CFLAGS = $cflags
$pname_LDFLAGS = $ldflags