-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile
29 lines (22 loc) · 920 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
28
29
all: custom
custom:
(cd map; ./map.py)
lwasm -l -9 -b -o -DMCUSTOM temple.bin main.asm > temple.lst
ifneq ("$(wildcard /media/share1/COCO/drive0.dsk)","")
decb copy -r -2 -b temple.bin /media/share1/COCO/drive0.dsk,TEMPLE.BIN
decb copy -r -2 -b temple.bin temple.dsk,TEMPLE.BIN
endif
original: main.asm
lwasm -l -9 -b -o temple.bin main.asm > temple.lst
ifneq ("$(wildcard /media/share1/COCO/drive0.dsk)","")
decb copy -r -2 -b temple.bin /media/share1/COCO/drive0.dsk,TEMPLE.BIN
decb copy -r -2 -b temple.bin temple.dsk,TEMPLE.BIN
endif
run:
mame coco2b -flop1 /media/share1/COCO/drive0.dsk -ramsize 512k -ui_active -skip_gameinfo -autoboot_delay 1 -autoboot_command 'LOADM"TEMPLE.BIN":EXEC\n'
clean:
rm -f *.bin *.zip *.lst map/*.asm *.swp
backup:
tar -cvf backups/`date +%Y-%m-%d_%H-%M-%S`.tar Makefile *.asm
install:
rcp temple.dsk ricka@rickadams.org:/home/ricka/templeofrom.com/files/TEMPLE2.DSK