2024-05-03 13:01:33 -04:00
|
|
|
# dependencies: Steel Bank Common Lisp (SBCL)
|
|
|
|
|
2024-05-13 20:05:28 -04:00
|
|
|
PROJECT_DIR := $(PWD)
|
|
|
|
|
2024-05-03 13:01:33 -04:00
|
|
|
all: sof
|
|
|
|
|
|
|
|
sof:
|
|
|
|
rm -rf bin
|
|
|
|
mkdir -p bin
|
2024-05-13 20:05:28 -04:00
|
|
|
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)"
|
2024-05-03 13:01:33 -04:00
|
|
|
|
|
|
|
.PHONY: all sof
|