uvg266/src/SConscript
Ari Koivula 18c3d9c72d Add scons build script.
We will also maintain the Makefile for basic building. This is for more
complicated stuff, like building the project on command line with
Visual Studio.
2014-02-19 16:58:52 +02:00

19 lines
317 B
Python

""" Build Kvazaa
"""
import os
Import('env')
sources = []
sources += env.Glob('*.c')
sources += env.Glob('extras/*.c')
sources += env.Glob('x86/*.asm')
env.Depends('x86/cpu.asm', 'x86/x86inc.asm')
prog = env.Program('kvazaar', sources)
env.Clean(prog, '.') # Remove variant_dir with 'scons -c'.
Return('prog')