metal-cos/tests/SConscript
2015-01-18 15:15:55 -08:00

14 lines
310 B
Python

import sys
Import('env')
test_env = env.Clone()
test_env.Append(LINKFLAGS = ['-nostdlib'])
test_env.Append(CPPFLAGS = ['-fno-builtin', '-nostdinc'])
test_env.Append(CPPPATH = ['#build/include'])
test_env.Append(LIBPATH = ['#build/lib/libc'], LIBS = ['c'])
test_env.Program("threadtest", ["threadtest.c"])