mirror of
https://github.com/drasko/codezero.git
synced 2026-02-26 08:43:13 +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:
@@ -29,5 +29,6 @@ e['CCFLAGS'] = ['-g', '-nostdlib', '-Wall', '-ffreestanding', '-std=gnu99']
|
||||
objects = e.StaticObject(Glob('*.c'))
|
||||
Depends(objects, e['configFiles'])
|
||||
library = e.StaticLibrary('posix', objects)
|
||||
Depends(library, e['configFiles'])
|
||||
|
||||
Return('library')
|
||||
|
||||
Reference in New Issue
Block a user