mirror of
https://github.com/drasko/codezero.git
synced 2026-01-12 10:53:16 +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:
@@ -25,5 +25,6 @@ e.Append(CPPPATH = ['include', '#libs/c/include', '#libs/c/include/arch/' + e['A
|
||||
objects = e.StaticObject(Glob('src/*.c'))
|
||||
Depends(objects, e['configFiles'])
|
||||
library = e.StaticLibrary('elf', objects)
|
||||
Depends(library, e['configFiles'])
|
||||
|
||||
Return('library')
|
||||
|
||||
Reference in New Issue
Block a user