Customized fork of github.com/rxi/lite

Merge branch 'master' of https://github.com/rxi/lite

rxi e6a2770e e7320c22

Changed files
+3 -2
+3 -2
build.sh
··· 1 #!/bin/bash 2 3 - cflags="-Wall -O3 -g -std=gnu11 -Isrc -DLUA_USE_POPEN" 4 lflags="-lSDL2 -lm" 5 6 if [[ $* == *windows* ]]; then 7 platform="windows" 8 outfile="lite.exe" 9 compiler="x86_64-w64-mingw32-gcc" 10 - cflags="$cflags -Iwinlib/SDL2-2.0.10/x86_64-w64-mingw32/include" 11 lflags="$lflags -Lwinlib/SDL2-2.0.10/x86_64-w64-mingw32/lib" 12 lflags="-lmingw32 -lSDL2main $lflags -mwindows -o $outfile res.res" 13 x86_64-w64-mingw32-windres res.rc -O coff -o res.res ··· 15 platform="unix" 16 outfile="lite" 17 compiler="gcc" 18 lflags="$lflags -o $outfile" 19 fi 20
··· 1 #!/bin/bash 2 3 + cflags="-Wall -O3 -g -std=gnu11 -Isrc" 4 lflags="-lSDL2 -lm" 5 6 if [[ $* == *windows* ]]; then 7 platform="windows" 8 outfile="lite.exe" 9 compiler="x86_64-w64-mingw32-gcc" 10 + cflags="$cflags -DLUA_USE_POPEN -Iwinlib/SDL2-2.0.10/x86_64-w64-mingw32/include" 11 lflags="$lflags -Lwinlib/SDL2-2.0.10/x86_64-w64-mingw32/lib" 12 lflags="-lmingw32 -lSDL2main $lflags -mwindows -o $outfile res.res" 13 x86_64-w64-mingw32-windres res.rc -O coff -o res.res ··· 15 platform="unix" 16 outfile="lite" 17 compiler="gcc" 18 + cflags="$cflags -DLUA_USE_POSIX" 19 lflags="$lflags -o $outfile" 20 fi 21