Rev 8298 | 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 | |||
8299 | maxcodehac | 6 | CFLAGS = "-c -fno-ident -O2 -fomit-frame-pointer -fno-ident -U__WIN32__ -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32 -std=c99" |
8298 | maxcodehac | 7 | |
8296 | maxcodehac | 8 | -- C_Layer |
8298 | maxcodehac | 9 | CFLAGS = CFLAGS .. " -I ../../../contrib/C_Layer/INCLUDE" |
8296 | maxcodehac | 10 | LDFLAGS = LDFLAGS .. " ../../../contrib/C_Layer/OBJ/loadlibimg.obj" |
11 | |||
12 | compile_gcc{"fridge.c"} |
||
13 | link_gcc("fridge") |