diff options
| author | Gene Pasquet <dev@etenil.net> | 2025-11-15 22:36:18 +0000 |
|---|---|---|
| committer | Gene Pasquet <dev@etenil.net> | 2025-11-20 00:25:04 +0000 |
| commit | a340d853525ebd03aa802a192aded9256754cba3 (patch) | |
| tree | bb5c1c9214f2860fb51dfab770ff96bac07eb6f3 /Makefile | |
| parent | 68f63d81be256fb6a4e6d9b1f454cfaa5afe330b (diff) | |
Display objects
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 18 |
1 files changed, 12 insertions, 6 deletions
@@ -1,13 +1,19 @@ -bin/game: bin bin/tilemap.o - csc -o bin/game bin/tilemap.o -uses tilemap src/game.scm +.DEFAULT_GOAL := bin/game bin: - mkdir bin + @mkdir -p $@ -bin/tilemap.o: bin src/tilemap.scm - csc -c -J src/tilemap.scm -unit tilemap -o bin/tilemap.o +bin/tilemap.o: src/tilemap.scm | bin + csc -c -J src/tilemap.scm -unit tilemap -o $@ -.PHONY: +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 |
