metal-cos/bin/ethinject/SConscript
2015-02-27 15:57:07 -08:00

24 lines
435 B
Python

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