forked from jhusak/avgcart_avfplay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
30 lines (26 loc) · 1.24 KB
/
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
.SUFFIXES: .s
.SUFFIXES: .xex
c:
dir=bin/pokey ;\
mkdir -p $$dir;\
mads movplay_smoothsound.asm -bc -d:COVOX=0 -o:$$dir/AVFPLAY
for covox in D280 D300 D500 D600 D700 ; do \
dir=bin/covox_$$covox;\
mkdir -p $$dir;\
mads movplay_smoothsound.asm -bc -d:COVOX=0x$$covox -o:$$dir/AVFPLAY ;\
done
%.xex: %.s
mads -l $< -bc -o:$@
build: c
exomizer sfx 0x2800 -C -n -t 168 AVFPLAY -o AVFPLAY
# exomizer sfx sys -Di_load_addr=0xc00 -Datari_init=1 ai.xex -t 168 -n -o aic.xex
cp: build
while ! [ -d /Volumes/UNTITLED -o -d /Volumes/AVGCART ] ; do sleep 1 ; done
sleep 1
[ -d /Volumes/UNTITLED ] && cp AVFPLAY /Volumes/UNTITLED/AVFPLAY && echo "Wait for the card to eject..." && diskutil eject /Volumes/UNTITLED || true
[ -d /Volumes/AVGCART ] && cp AVFPLAY /Volumes/AVGCART/AVFPLAY && echo "Wait for the card to eject..." && diskutil eject /Volumes/AVGCART || true
cpb:
while ! [ -d /Volumes/UNTITLED -o -d /Volumes/AVGCART ] ; do sleep 1 ; done
sleep 1
[ -d /Volumes/UNTITLED ] && cp AVFPLAY /Volumes/UNTITLED/AVFPLAY && echo "Wait for the card to eject..." && diskutil eject /Volumes/UNTITLED || true
[ -d /Volumes/AVGCART ] && cp AVFPLAY /Volumes/AVGCART/AVFPLAY && echo "Wait for the card to eject..." && diskutil eject /Volumes/AVGCART || true