Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (25 sloc) 723 Bytes
threads = on # required for SDL2 audio callback
@if emscripten:
define = SDL_Static
gc = none
cc = clang
clang.exe = "emcc"
clang.linkerexe = "emcc"
clang.options.linker = ""
cpu = "i386"
out = "nimes.html"
warning[GcMem] = off
passC = "-Wno-warn-absolute-paths -Iemscripten -s USE_SDL=2 -s ASM_JS=1"
passL = "-O3 -Lemscripten -s USE_SDL=2 -s ASM_JS=1 --preload-file tetris.nes --preload-file pacman.nes --preload-file smb.nes --preload-file smb3.nes -s TOTAL_MEMORY=16777216"
@end
@if android:
cpu = "i386"
nimcache = "./android/jni/src"
compileOnly
noMain
@end
@if musl:
passL = "-static"
gcc.exe = "/usr/local/musl/bin/musl-gcc"
gcc.linkerexe = "/usr/local/musl/bin/musl-gcc"
@end