3 # Copyright © 2007-2008 Kővágó Zoltán <DirtY.iCE.hu@gmail.com>
4 # Released under GNU GPL
80 dirs
= 'babyxml console font lisp physfs protectstr screens tinygettext video'
81 # prefix them to prevent collision with system libraries
82 # (especially for physfs)
83 uselibs
= 'dbw_console dbw_fontengine dbw_lisp dbw_physfs dbw_protectstr dbw_screens dbw_tinygettext dbw_video dbw_babyxml'
87 env
= bld
.env_of_name("default")
91 # the base of the game
92 obj
= bld
.create_obj('cpp', 'staticlib')
93 obj
.source
= blobobjects
94 obj
.includes
= '. ' + dirs
95 obj
.target
= 'dbw_gamebase'
96 obj
.name
= 'dbw_gamebase'
100 obj
= bld
.create_obj('cpp', 'program')
101 obj
.source
= ['main.cpp']
102 obj
.includes
= '. ' + dirs
103 obj
.target
= 'dirtyblobwars'
104 obj
.uselib
= 'SDL SDL_IMAGE SDL_MIXER SDL_TTF PHYSFS ICONV'
105 obj
.uselib_local
= 'dbw_gamebase ' + uselibs
109 obj
= bld
.create_obj('cpp', 'program')
110 obj
.source
= ['mapEditor.cpp']
111 obj
.includes
= '. ' + dirs
112 obj
.target
= 'dirtyblobwars-mapeditor'
113 obj
.uselib
= 'SDL SDL_IMAGE SDL_MIXER SDL_TTF PHYSFS ICONV'
114 obj
.uselib_local
= 'dbw_gamebase ' + uselibs
118 def set_options(opt
):