mirror of
https://github.com/drasko/codezero.git
synced 2026-02-03 05:33:18 +01:00
Simplify the top-level SConstruct a bit by transfering responsibility for ensuring the dependency on the configuration files to the SConscript files.
This commit is contained in:
@@ -27,5 +27,6 @@ e['CCFLAGS'] = ['-g', '-nostdlib', '-Wall', '-ffreestanding', '-std=gnu99']
|
||||
objects = e.StaticObject(Glob('src/*.c') + Glob('src/arch-' + environment['ARCH'] + '/*.[cS]'))
|
||||
Depends(objects, e['configFiles'])
|
||||
library = e.StaticLibrary('c', objects)
|
||||
Depends(library, e['configFiles'])
|
||||
|
||||
Return('library')
|
||||
|
||||
Reference in New Issue
Block a user