pointers are displayed correctly
[escm.git] / SConstruct
blobd6cd6764fb7efa5a8293793e3ecc7887736fc811
1 import os
3 env=Environment(ENV=os.environ)
4 env['CC']='g++'
5 env['CCFLAGS']='-O2 -Wall'
6 env['CPPPATH']=['#include/']
7 env.SetOption("num_jobs",2);
9 # debug
10 env['CCFLAGS']+=' -DDEBUG=1 -g '
12 # we want to build an interpreter, not lib. Otherwise comment this out.:
13 env['CCFLAGS']+=' -Drun_interpreter=main '
14 env['LIBS']=['readline']
16 Export('env')
18 objs=SConscript("src/SConscript")
19 env.Program("escm",objs)