mirror of
https://github.com/drasko/codezero.git
synced 2026-01-16 21:03:16 +01:00
Refactor the build to try and get as much material as possible out of SConstruct.
This commit is contained in:
@@ -21,6 +21,7 @@ Import('environment')
|
||||
|
||||
e = environment.Clone()
|
||||
e.Append(CPPPATH = ['include', '#libs/c/include', '#libs/c/include/arch/' + e['ARCH']])
|
||||
e.Append(CCFLAGS = '-nostdinc')
|
||||
|
||||
objects = e.StaticObject(Glob('src/*.c'))
|
||||
Depends(objects, e['configFiles'])
|
||||
|
||||
Reference in New Issue
Block a user