mirror of
https://github.com/drasko/codezero.git
synced 2026-01-17 05:13:16 +01:00
Ensure all the library compilation depends on the configuration files.
This commit is contained in:
@@ -22,6 +22,9 @@ Import ( 'environment' )
|
||||
e = environment.Clone ( )
|
||||
e.Append ( CPPPATH = [ 'include' , '#libs/c/include' , '#libs/c/include/arch/' + e['ARCH'] ] )
|
||||
|
||||
result = e.StaticLibrary ( 'elf' , Glob ( 'src/*.c' ) )
|
||||
objects = e.StaticObject ( Glob ( 'src/*.c' ) )
|
||||
Depends ( objects , e['configFiles'] )
|
||||
|
||||
result = e.StaticLibrary ( 'elf' , objects )
|
||||
|
||||
Return ( 'result' )
|
||||
|
||||
Reference in New Issue
Block a user