File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ bell
2+ buzz
3+ cd
4+ chtime
5+ chtype
6+ copy
7+ date
8+ echo
9+ hello
10+ online
11+ type
Original file line number Diff line number Diff line change @@ -5,10 +5,7 @@ LDFLAGS := --config apple2-asm.cfg
55OUTDIR := out
66
77TARGETS := $(OUTDIR ) /path.BIN \
8- $(OUTDIR ) /cd.CMD \
9- $(OUTDIR ) /chtype.CMD $(OUTDIR ) /chtime.CMD $(OUTDIR ) /buzz.CMD \
10- $(OUTDIR ) /copy.CMD $(OUTDIR ) /date.CMD $(OUTDIR ) /type.CMD \
11- $(OUTDIR ) /bell.CMD $(OUTDIR ) /hello.CMD $(OUTDIR ) /echo.CMD $(OUTDIR ) /online.CMD
8+ $(shell cat COMMANDS | while read line; do echo "out/$${line}.CMD"; done)
129
1310XATTR := $(shell command -v xattr 2> /dev/null)
1411
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ add_file () {
1818}
1919
2020add_file " out/path.BIN" " path#062000"
21- for file in bell echo hello online chtype chtime copy date type buzz cd ; do
21+ for file in $( cat COMMANDS ) ; do
2222 add_file " out/${file} .CMD" " ${file} #F04000"
2323done
2424
You can’t perform that action at this time.
0 commit comments