411619379f85 — Laurens Holst 6 years ago
Makefile: Add copy target, for convenient copying to SD-card.
1 files changed, 6 insertions(+), 0 deletions(-)

M Makefile
M Makefile +6 -0
@@ 1,3 1,5 @@ 
+COPY_TARGET = /Volumes/MSXDOS2
+
 all:
 	mkdir -p gen bin
 	node tools/genftable.js > gen/psgftable.asm

          
@@ 9,6 11,10 @@ dist: all
 	rm -f bin/synthesix.zip
 	cd bin && zip synthesix.zip synthe6.rom README.md LICENSE
 
+copy: all
+	cp bin/synthe6.rom $(COPY_TARGET)/
+	diskutil umountDisk `mount | grep $(COPY_TARGET) | cut -d" " -f 1`
+
 run: all
 	openmsx -cart bin/synthe6.rom -romtype KonamiSCC -machine Panasonic_FS-A1GT -script openmsx.tcl