3 output
= 'bin/potpourri'
21 # more complicated stuff
23 include_list
= ["/usr/include/SDL", "/usr/include/libxml2"]
25 sauce_list
= Split(sauces
)
26 lib_list
= Split(libs_string
)
28 debug
= Environment(CCFLAGS
='-g', CPPPATH
= include_list
)
29 normal
= Environment(CPPPATH
= include_list
)
31 if 'release' in COMMAND_LINE_TARGETS
:
32 normal
.Program(output
, sauce_list
, LIBS
=lib_list
)
34 debug
.Program(output
+ '-dbg', sauce_list
, LIBS
=lib_list
)