You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
611 B

java -jar ./JCGO/jcgo.jar mudclient -src ./mudclient204-threadless \
@JCGO/stdpaths.in
patch -p0 -i emscripten-sdl.diff
emcc -O2 -I ./JCGO/include -I ./JCGO/native -I \
-fno-strict-aliasing \
-DJCGO_NOGC -DJCGO_FPFAST -DJCGO_FASTMATH \
-DJCGO_INTFIT -DJCGO_UNIX -D_FPU_CONTROL_H -D_IEEEFP_H -DJCGO_UNIFSYS \
-o mudclient.html jcgo_Out/Main.c -lm -lSDL2 \
-s ALLOW_MEMORY_GROWTH=1 -s USE_SDL=2 -s ASYNCIFY \
-s 'ASYNCIFY_IMPORTS=["js_clientStream_new","js_clientStream_readStream","js_clientStream_availableStream","js_clientStream_readStreamBytes"]' \
--preload-file ./data204