sdlquake: newlib

git-svn-id: svn://kolibrios.org@8520 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
maxcodehack
2021-01-05 13:00:22 +00:00
parent 62a646eb18
commit 41c3cb567f
3 changed files with 21 additions and 22 deletions

8
programs/use_sdl_newlib.lua Executable file
View File

@@ -0,0 +1,8 @@
SDL_INCLUDE = tup.getcwd() .. "/../contrib/sdk/sources/SDL-1.2.2_newlib/include"
SDL_LIB = tup.getcwd() .. "/../contrib/sdk/lib"
tup.include("use_sound.lua")
INCLUDES = INCLUDES .. " -I" .. SDL_INCLUDE
table.insert(LIBDEPS, SDL_LIB .. "/<libSDLn>")
LIBS = "-lSDLn " .. LIBS