# -*- 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']),
	parse_flags = ['-fPIC']
	)

env_soil.StaticLibrary(env['local_libs'] + "libsoil", files)
