forked from mwenge/StarRaiders
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
27 lines (20 loc) · 879 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
.PHONY: all clean run
XATARI_IMAGE = "bin/starraiders.xex"
XATARI = atari800
DIRS=bin
all: clean starraiders.xex run
starraiders.xex: src/starraiders-original.asm
$(shell mkdir -p $(DIRS))
64tass -Wall --atari-xex -b -o bin/starraiders.xex src/starraiders-original.asm
md5sum bin/starraiders.xex orig/starraiders.rom
echo "50d3d48571d77c8f252e0c7016edba99 bin/starraiders.xex" | md5sum -c
starraiders-annotated.xex: src/starraiders-annotated.asm
$(shell mkdir -p $(DIRS))
64tass -Wall --atari-xex -b -o bin/starraiders-annotated.xex -L bin/starraiders-annotated.txt src/starraiders-annotated.asm
md5sum bin/starraiders.xex orig/starraiders.rom
echo "50d3d48571d77c8f252e0c7016edba99 bin/starraiders.xex" | md5sum -c
run: starraiders.xex
$(XATARI) -cart-type 1 -win-height 800 -win-width 1200 -cart $(XATARI_IMAGE)
clean:
-rm bin/starraiders.xex
-rm bin/*.txt