build_x64.sh 316 B

12345678
  1. #!/bin/sh
  2. if [ `uname` = "Darwin" ] ; then
  3. CFLAGS="${CFLAGS} -I/opt/local/include -L/opt/local/lib -framework Cocoa"
  4. fi
  5. cc -g -o sledge --std=gnu99 -Wall -O1 -I. ${CFLAGS} sledge.c reader.c writer.c alloc.c strmap.c stream.c ../devices/sdl2.c ../devices/posixfs.c -lm -lSDL2 -DCPU_X64 -DDEV_SDL -DDEV_POSIXFS