[linux_debug] default
libs = -lSDL3
cppflags = -D LUA_USE_LINUX -D DEBUG -g -Wall
executable = ascii_debug
sourcepath = . lua
buildpath = build

[linux]
libs = -lSDL3
cppflags = -D LUA_USE_LINUX -g -Wall -Os -ffunction-sections -fdata-sections
executable = ascii
sourcepath = . lua
buildpath = build

[windows]
cppflags = -D LUA_USE_WINDOWS -Wall -Os -ffunction-sections -fdata-sections
libs = -Wl,--gc-sections -lmingw32 -lSDL3 -static-libstdc++ -static-libgcc -lpthread -mwindows
executable = ascii.exe
sourcepath = . lua
buildpath = build

[windows_debug]
cppflags = -D LUA_USE_WINDOWS -D DEBUG -g -Wall
libs = -lmingw32 -lSDL3
executable = ascii_debug.exe
sourcepath = . lua
buildpath = build

[macos]
compiler = clang++
cppflags = -D LUA_USE_MACOS -Wall -Os -Wno-deprecated -ffunction-sections -fdata-sections
libs = -lSDL3
executable = ascii
sourcepath = . lua
buildpath = build

[macos_debug]
compiler = clang++
cppflags = -D LUA_USE_MACOS -D DEBUG -g -Wall -Wno-deprecated
libs = -lSDL3
executable = ascii_debug
sourcepath = . lua
buildpath = build
