metal-cos/sbin/init/SConscript
2014-07-27 17:09:31 -07:00

22 lines
341 B
Python

import sys
Import('env')
init_env = env.Clone()
src = [ ]
src_common = [
"init.c"
]
src.append(src_common)
init_env.Append(LINKFLAGS = ['-nostdlib'])
init_env.Append(CPPFLAGS = ['-nostdinc'])
init_env.Append(CPPPATH = ['#build/include'])
init_env.Append(LIBPATH = ['#build/lib/libc'], LIBS = ['c'])
init_env.Program("init", src)