1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
.DEFAULT_GOAL := bin/game bin: @mkdir -p $@ bin/tilemap.o: src/tilemap.scm | bin csc -c -J src/tilemap.scm -unit tilemap -o $@ bin/game.o: src/game.scm | bin csc -c src/game.scm -uses tilemap -o $@ bin/game: bin/tilemap.o bin/game.o | bin csc -o bin/game bin/tilemap.o bin/game.o .PHONY: clean clean: rm -rf bin rm -f *.import.scm game