From e8399af9da77c4e95d3c88437bff3320ef4cdca5 Mon Sep 17 00:00:00 2001 From: Zane Kaminski Date: Fri, 29 Sep 2023 10:25:46 -0400 Subject: [PATCH] Add copy to makefile --- Makefile | 9 ++++++++- bnc.sh | 4 ---- 2 files changed, 8 insertions(+), 5 deletions(-) delete mode 100755 bnc.sh diff --git a/Makefile b/Makefile index 82912a0..43cd320 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,7 @@ cflags = -O --cpu 6502 -t apple2 +.PHONY: clean all copy + all: bin/GWRAM.po bin/GWRAM.dbg.po obj: @@ -60,6 +62,11 @@ bin/GWRAM.dbg.po: bin/main.dbg.sys cp prodos140.po bin/GWRAM.dbg.po cat bin/main.dbg.sys | java -jar ./ac-1.6.0.jar -p $@ gwram.system sys 0x2000 -.PHONY: clean clean: rm -fr bin obj + +copy: bin/GWRAM.po + cp bin/GWRAM.po /Volumes/FLOPPYEMU/GWRAM.po + diskutil unmount /Volumes/FLOPPYEMU/ + + diff --git a/bnc.sh b/bnc.sh deleted file mode 100755 index 8123a84..0000000 --- a/bnc.sh +++ /dev/null @@ -1,4 +0,0 @@ -make clean -make -cp bin/GWRAM.po /Volumes/FLOPPYEMU/GWRAM.po -diskutil unmount /Volumes/FLOPPYEMU/