SOF/Makefile

15 lines
292 B
Makefile
Raw Normal View History

# dependencies: Steel Bank Common Lisp (SBCL)
PROJECT_DIR := $(PWD)
all: sof
sof:
rm -rf bin
mkdir -p bin
sbcl --load "$(PROJECT_DIR)/sof.asd" \
--eval "(asdf:load-system :sof)" \
--eval "(sb-ext:save-lisp-and-die \"bin/sof\" :toplevel 'sof-game:main :executable t)"
.PHONY: all sof