LIBFILES=../lib/gmod3.asm ../include/gmod3.inc all: flasher.prg flasher.d64 flasher.prg: flasher.asm $(LIBFILES) acme -f cbm -o flasher.prg flasher.asm flasher.d64: cart.bin flasher.prg c1541 -format "flash test,00" d64 flasher.d64 \ -write flasher.prg flasher \ -write cart.bin cart.bin cart.bin: dd if=/dev/urandom of=cart.bin bs=64K count=2 emptycart.bin: dd if=/dev/zero of=emptycart.bin bs=1024K count=2 test: flasher.d64 emptycart.bin x64sc -cartgmod3 emptycart.bin +gmod3flashwrite flasher.d64 clean: $(RM) flasher.prg $(RM) flasher.d64 $(RM) cart.bin emptycart.bin