diff options
Diffstat (limited to 'SConstruct')
| -rw-r--r-- | SConstruct | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -19,9 +19,11 @@ if os != 'Linux': | |||
| 19 | # base config | 19 | # base config |
| 20 | env = Environment( | 20 | env = Environment( |
| 21 | CC = 'gcc', | 21 | CC = 'gcc', |
| 22 | CXX = 'g++', | ||
| 22 | CCFLAGS = Split(DEBUG_FLAGS), | 23 | CCFLAGS = Split(DEBUG_FLAGS), |
| 23 | CPPPATH = Split(INCLUDE_DIRS), | 24 | CPPPATH = Split(INCLUDE_DIRS), |
| 24 | CPPDEFINES = '-DMAX_TASKS=%d' % MAX_TASKS, | 25 | CPPDEFINES = '-DMAX_TASKS=%d' % MAX_TASKS, |
| 26 | LIBS = Split('blitz m') | ||
| 25 | ) | 27 | ) |
| 26 | 28 | ||
| 27 | # ##################################################################### | 29 | # ##################################################################### |
| @@ -29,3 +31,4 @@ env = Environment( | |||
| 29 | common = ['src/load.c', 'src/eheap.c', 'src/util.c'] | 31 | common = ['src/load.c', 'src/eheap.c', 'src/util.c'] |
| 30 | env.Program('st_convert', ['src/st2pl.c'] + common) | 32 | env.Program('st_convert', ['src/st2pl.c'] + common) |
| 31 | env.Program('st_show', ['src/showst.c'] + common) | 33 | env.Program('st_show', ['src/showst.c'] + common) |
| 34 | env.Program('st_show2', ['src/showst2.cpp'] + common) | ||
