diff --git a/COMMANDS b/COMMANDS new file mode 100644 index 0000000..639854d --- /dev/null +++ b/COMMANDS @@ -0,0 +1,11 @@ +bell +buzz +cd +chtime +chtype +copy +date +echo +hello +online +type diff --git a/Makefile b/Makefile index a48d1f8..1188f26 100644 --- a/Makefile +++ b/Makefile @@ -5,10 +5,7 @@ LDFLAGS := --config apple2-asm.cfg OUTDIR := out TARGETS := $(OUTDIR)/path.BIN \ - $(OUTDIR)/cd.CMD \ - $(OUTDIR)/chtype.CMD $(OUTDIR)/chtime.CMD $(OUTDIR)/buzz.CMD \ - $(OUTDIR)/copy.CMD $(OUTDIR)/date.CMD $(OUTDIR)/type.CMD \ - $(OUTDIR)/bell.CMD $(OUTDIR)/hello.CMD $(OUTDIR)/echo.CMD $(OUTDIR)/online.CMD + $(shell cat COMMANDS | while read line; do echo "out/$${line}.CMD"; done) XATTR := $(shell command -v xattr 2> /dev/null) diff --git a/package.sh b/package.sh index 8a037e1..bd6591d 100755 --- a/package.sh +++ b/package.sh @@ -18,7 +18,7 @@ add_file () { } add_file "out/path.BIN" "path#062000" -for file in bell echo hello online chtype chtime copy date type buzz cd; do +for file in $(cat COMMANDS); do add_file "out/${file}.CMD" "${file}#F04000" done