File: SConstruct

package info (click to toggle)
enemylines7 0.6-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,640 kB
  • sloc: cpp: 21,756; makefile: 24
file content (45 lines) | stat: -rw-r--r-- 781 bytes parent folder | download | duplicates (5)
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
env = Environment()
env.ParseConfig('sdl-config --cflags')
env.ParseConfig('sdl-config --static-libs')

env.Append(CCFLAGS = ['-g','-O2','-Wall'])
env.Append(LIBS = ['GL','GLU','SDL_mixer','SDL_image'])
env.Append(CPPFLAGS = ['-I./','-I../'])
Export('env')

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


#env.Append(CPPFLAGS = ['-DNOAUDIO'])



main=[
		"entity.cc",
		"random.cc",
		"container.cc",
		"game.cc",
		"util.cc",
		"menu.cc",
		"help.cc", 
		"font_ogl.cc", 
		"font_data.cc",
		"skybox.cc",
		"config.cc",
		"audio.cc",
		"position.cc",
		"light.cc",
		"formation.cc",
		"tex.cc",
		"floor.cc",
		"radio.cc"

]


env.Program(target = 'enemylines7', 
	source = objs+main+["main.cc"]
)