Rev 5098 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
5098 | clevermous | 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") |
||
8528 | maxcodehac | 4 | tup.include(HELPERDIR .. "/use_newlib.lua") |
5098 | clevermous | 5 | tup.include(HELPERDIR .. "/use_tinygl.lua") |
8528 | maxcodehac | 6 | |
7 | LIBS = "-lstdc++ -lsupc++ " .. LIBS |
||
8 | LDFLAGS = LDFLAGS .. " --subsystem native" |
||
9 | |||
5098 | clevermous | 10 | compile_gcc{"fps.cpp", "main.cpp"} |
11 | link_gcc("gears") |