mirror of
https://github.com/a2stuff/prodos-path.git
synced 2025-01-14 09:30:38 +00:00
Simplify make/package maintenance
This commit is contained in:
parent
46b4462a9e
commit
f124dd1bd5
11
COMMANDS
Normal file
11
COMMANDS
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
bell
|
||||||
|
buzz
|
||||||
|
cd
|
||||||
|
chtime
|
||||||
|
chtype
|
||||||
|
copy
|
||||||
|
date
|
||||||
|
echo
|
||||||
|
hello
|
||||||
|
online
|
||||||
|
type
|
5
Makefile
5
Makefile
@ -5,10 +5,7 @@ LDFLAGS := --config apple2-asm.cfg
|
|||||||
OUTDIR := out
|
OUTDIR := out
|
||||||
|
|
||||||
TARGETS := $(OUTDIR)/path.BIN \
|
TARGETS := $(OUTDIR)/path.BIN \
|
||||||
$(OUTDIR)/cd.CMD \
|
$(shell cat COMMANDS | while read line; do echo "out/$${line}.CMD"; done)
|
||||||
$(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
|
|
||||||
|
|
||||||
XATTR := $(shell command -v xattr 2> /dev/null)
|
XATTR := $(shell command -v xattr 2> /dev/null)
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ add_file () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
add_file "out/path.BIN" "path#062000"
|
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"
|
add_file "out/${file}.CMD" "${file}#F04000"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user