Codebase list bsdowl / f65a61b
Build a simple program with debugging information Closes #122 Michael Grünewald 9 years ago
3 changed file(s) with 27 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
3333 .if defined(_USES_profile_ARGS)
3434 WITH_PROFILE= yes
3535 .endif
36 .endif
3637
38 WITH_DEBUG?= no
39
40 .if ${WITH_DEBUG} == yes
41 CFLAGS+= -g
3742 .endif
43
3844 .endif # !target(__<langc.uses.mk>__)
3945
4046 ### End of file `langc.uses.mk'
1414 # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.txt
1515
1616 TEST= TestProgram
17 TEST+= TestProgramDebug
1718
1819 .include "test.mk"
1920
0 ### TestProgramDebug.mk -- The obnoxious hello world program
1
2 # Author: Michael Grünewald
3 # Date: Fri Nov 7 19:58:45 CET 2014
4
5 # BSD Owl Scripts (https://github.com/michipili/bsdowl)
6 # This file is part of BSD Owl Scripts
7 #
8 # Copyright © 2005–2014 Michael Grünewald
9 #
10 # This file must be used under the terms of the CeCILL-B.
11 # This source file is licensed as described in the file COPYING, which
12 # you should have received as part of this distribution. The terms
13 # are also available at
14 # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.txt
15
16 WITH_DEBUG= yes
17 .include "TestProgram.mk"
18
19 ### End of file `TestProgram.mk'