2009-05-10 11:09:42 +00:00
|
|
|
# -*- python -*-
|
|
|
|
Import('env')
|
|
|
|
import sys
|
|
|
|
|
|
|
|
files = [
|
|
|
|
'image_DXT.c',
|
|
|
|
'image_helper.c',
|
|
|
|
'SOIL.c',
|
|
|
|
'stb_image_aug.c'
|
|
|
|
]
|
|
|
|
|
|
|
|
env_soil = env.Clone(
|
|
|
|
CCFLAGS = env.filterWarnings(env['CCFLAGS']),
|
|
|
|
CXXFLAGS = env.filterWarnings(env['CXXFLAGS']),
|
2009-05-11 12:38:20 +00:00
|
|
|
parse_flags = ['-fPIC']
|
2009-05-10 11:09:42 +00:00
|
|
|
)
|
2009-05-11 12:38:20 +00:00
|
|
|
|
2009-05-10 11:09:42 +00:00
|
|
|
env_soil.StaticLibrary(env['local_libs'] + "libsoil", files)
|