mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-24 18:34:06 +00:00
1de102be61
- Enforces a little bit more hierarchy. Compilation units are in strategies and whatever inline includes they have are in a folder with the same name as the strategy.
20 lines
355 B
Python
20 lines
355 B
Python
""" Build Kvazaa
|
|
"""
|
|
|
|
import os
|
|
|
|
Import('env')
|
|
|
|
sources = []
|
|
sources += env.Glob('*.c')
|
|
sources += env.Glob('extras/*.c')
|
|
sources += env.Glob('strategies/*.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')
|