File: SConstruct

package info (click to toggle)
enemylines3 1.2-6
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,384 kB
  • ctags: 1,445
  • sloc: cpp: 16,323; makefile: 70; sh: 52
file content (46 lines) | stat: -rw-r--r-- 879 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46


env = Environment()
Export('env')
env.ParseConfig('sdl-config --cflags')
env.ParseConfig('sdl-config --static-libs')

objs = []
for subdir in ['generators','tweak','models','elements']:
	o = SConscript('%s/SConstruct' % subdir)
	objs.append(o)

env.Append(CCFLAGS = ['-g', '-Wall'])
#env.Append(CPPFLAGS = ['-Ielements','-DNOCURL','-DNOTTF'])
env.Append(CPPFLAGS = ['-Ielements'])
env.Append(LIBS = ['GL','GLU','SDL_mixer','SDL_ttf','curl'])

env.Program(target = 'enemylines3', 
	source = objs+[
		"main.cc",
		"entity.cc",
		"random.cc",
		"container.cc",
		"game.cc",
		"util.cc",
		"shot.cc",
		"mapbase.cc",
		"map.cc",
		"mapswitch.cc",
		"menu.cc",
		"help.cc", 
		"font.cc",
		"font_ogl.cc", 
		"font_data.cc",
		"font_ttf.cc",
		"skybox.cc",
		"config.cc",
		"sphere.cc",
		"tile.cc",
		"frustum.cc",
		"timeoutlist.cc",
		"tips.cc",
		"hiscore.cc",
		"audio.cc"
	]
)