Rev 8495 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8495 | Rev 8524 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | if tup.getconfig("NO_GCC") ~= "" then return end |
1 | if tup.getconfig("NO_GCC") ~= "" then return end |
2 | HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../.." or tup.getconfig("HELPERDIR") |
2 | HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../.." or tup.getconfig("HELPERDIR") |
3 | tup.include(HELPERDIR .. "/use_gcc.lua") |
3 | tup.include(HELPERDIR .. "/use_gcc.lua") |
4 | tup.include(HELPERDIR .. "/use_newlib.lua") |
4 | tup.include(HELPERDIR .. "/use_newlib.lua") |
5 | tup.include(HELPERDIR .. "/use_sound.lua") |
5 | tup.include(HELPERDIR .. "/use_sdl_newlib.lua") |
Line 6... | Line 6... | ||
6 | 6 | ||
7 | CFLAGS = CFLAGS .. " -std=c99" |
- | |
8 | INCLUDES = INCLUDES .. " -I../../../contrib/sdk/sources/SDL-1.2.2_newlib/include" |
- | |
9 | table.insert(LIBDEPS, "../../../contrib/sdk/lib/ |
- | |
Line 10... | Line 7... | ||
10 | LIBS = "-lSDLn " .. LIBS |
7 | CFLAGS = CFLAGS .. " -std=c99" |
11 | 8 | ||
Line 12... | Line 9... | ||
12 | -- Subsystem native |
9 | -- Subsystem native |