Emulator core geared towards emulating ZZT and Super ZZT.
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.

zeta_sdl_mingw.sh 628B

1234567891011
  1. #!/bin/sh
  2. xxd -i res/8x14.bin > res/8x14.c
  3. if [ -f build/mingw_resources.o ]; then rm build/mingw_resources.o; fi
  4. i686-w64-mingw32-windres mingw/resources.rc build/mingw_resources.o
  5. i686-w64-mingw32-gcc -o build/zeta86.exe -g -O2 -std=c18 -Wall -mwindows \
  6. res/8x14.c src/posix_vfs.c src/audio_stream.c src/zzt.c src/cpu.c \
  7. src/screenshot_writer.c src/render_software.c build/mingw_resources.o \
  8. src/asset_loader.c src/util.c src/audio_writer.c \
  9. src/sdl/frontend.c src/sdl/render_software.c src/sdl/render_opengl.c \
  10. -Wl,-Bstatic -lmingw32 -lwinpthread -lgcc -lSDL2main -lpng -lz \
  11. -Wl,-Bdynamic -lSDL2 -lopengl32