Rev 8296 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
8296 | maxcodehac | 1 | if tup.getconfig("NO_GCC") ~= "" then return end |
2 | HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../.." or tup.getconfig("HELPERDIR") |
||
3 | tup.include(HELPERDIR .. "/use_gcc.lua") |
||
4 | tup.include(HELPERDIR .. "/use_newlib.lua") |
||
5 | |||
6 | -- C_Layer |
||
8297 | maxcodehac | 7 | CFLAGS = CFLAGS .. "-U__WIN32__ -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32 -std=c99 -I ../../../contrib/C_Layer/INCLUDE" |
8296 | maxcodehac | 8 | LDFLAGS = LDFLAGS .. " ../../../contrib/C_Layer/OBJ/loadlibimg.obj" |
9 | |||
10 | compile_gcc{"fridge.c"} |
||
11 | link_gcc("fridge") |