Jumpnbump:

- Now uses zlib dynamically

git-svn-id: svn://kolibrios.org@8769 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
turbocat 2021-06-05 21:20:22 +00:00
parent 1ce797a3b2
commit 3b35056c50

View File

@ -9,9 +9,9 @@ SDK_DIR = "../../sdk"
CFLAGS = CFLAGS .. " -Dstricmp=strcasecmp -DZLIB_SUPPORT -Dstrnicmp=strncasecmp -DUSE_SDL -DNDEBUG -U__WIN32__ -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32" CFLAGS = CFLAGS .. " -Dstricmp=strcasecmp -DZLIB_SUPPORT -Dstrnicmp=strncasecmp -DUSE_SDL -DNDEBUG -U__WIN32__ -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32"
INCLUDES = INCLUDES .. " -I. -I " .. SDK_DIR .. "/sources/zlib" INCLUDES = INCLUDES .. " -I. -I " .. SDK_DIR .. "/sources/zlib"
LDFLAGS = LDFLAGS .. " -Lsdl --subsystem native" LDFLAGS = LDFLAGS .. " -Lsdl --subsystem native"
LIBS = "-ls -lz " .. LIBS LIBS = "-ls -lz.dll " .. LIBS
table.insert(LIBDEPS, SDK_DIR .. "/lib/<libz>") table.insert(LIBDEPS, SDK_DIR .. "/lib/<libz.dll.a>")
table.insert(LIBDEPS, "sdl/<libs>") table.insert(LIBDEPS, "sdl/<libs>")
compile_gcc{"filter.c", "fireworks.c", "main.c", "menu.c", "stub.c"} compile_gcc{"filter.c", "fireworks.c", "main.c", "menu.c", "stub.c"}