Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
RishiRecon
GitHub Repository: RishiRecon/exploits
Path: blob/main/misc/emulator/xnes/snem/buildjs
28515 views
#!/bin/sh
# build an ascii version for benchmark, see drawansi.h for various mode of ansi art graphics
set -o verbose
OUT=../output
emcc -O2  -s EXPORTED_FUNCTIONS="['_main', '_reboot']" -DASCII -DBENCHMARK  -o $OUT/xnes.js *.c  --embed-file smw.smc