mirror of
https://github.com/a2stuff/prodos-path.git
synced 2026-04-21 16:16:26 +00:00
Simplify make/package maintenance
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user