metal-cos/tests/SConscript

15 lines
361 B
Python
Raw Normal View History

2015-01-18 23:15:55 +00:00
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"])
2015-02-02 07:56:45 +00:00
test_env.Program("pthreadtest", ["pthreadtest.c"])
2015-01-18 23:15:55 +00:00