snake6502/Makefile

21 lines
396 B
Makefile
Raw Normal View History

2020-04-01 19:11:08 +00:00
.POSIX:
2020-04-01 19:11:08 +00:00
ASM=$(wildcard src/*.asm)
RES=$(wildcard res/*)
.PHONY: debug env clean
bin/snake.prg: $(ASM) $(RES) | env
dasm src/main.asm -Isrc/ -DSYSTEM=64 -DDEBUG=0 -obin/snake.prg
clean:
rm -rf {build,bin}
env:
mkdir -p {build,bin}
debug: $(ASM) $(RES) | env
g++ -o bin/explodefont util/explodefont.cpp
dasm src/main.asm -Isrc/ -DSYSTEM=64 -DDEBUG=1 -sbuild/symbols.txt -obin/snake.prg