Include new files in package
This commit is contained in:
parent
fb08e649cc
commit
f5fc93e608
10
Makefile
10
Makefile
|
@ -1,10 +1,10 @@
|
||||||
|
|
||||||
CAFLAGS = --target apple2enh --list-bytes 0
|
CAFLAGS := --target apple2enh --list-bytes 0
|
||||||
LDFLAGS = --config apple2-asm.cfg
|
LDFLAGS := --config apple2-asm.cfg
|
||||||
|
|
||||||
OUTDIR = out
|
OUTDIR := out
|
||||||
|
|
||||||
TARGETS = $(OUTDIR)/path.BIN \
|
TARGETS := $(OUTDIR)/path.BIN \
|
||||||
$(OUTDIR)/chtype.CMD $(OUTDIR)/chtime.CMD \
|
$(OUTDIR)/chtype.CMD $(OUTDIR)/chtime.CMD \
|
||||||
$(OUTDIR)/bell.CMD $(OUTDIR)/hello.CMD $(OUTDIR)/echo.CMD $(OUTDIR)/online.CMD
|
$(OUTDIR)/bell.CMD $(OUTDIR)/hello.CMD $(OUTDIR)/echo.CMD $(OUTDIR)/online.CMD
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ all: $(OUTDIR) $(TARGETS)
|
||||||
$(OUTDIR):
|
$(OUTDIR):
|
||||||
mkdir -p $(OUTDIR)
|
mkdir -p $(OUTDIR)
|
||||||
|
|
||||||
HEADERS = $(wildcard *.inc)
|
HEADERS := $(wildcard *.inc)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(OUTDIR)/*.o
|
rm -f $(OUTDIR)/*.o
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Use Cadius to create a disk image for distribution
|
# Use Cadius to create a disk image for distribution
|
||||||
# https://github.com/mach-kernel/cadius
|
# https://github.com/mach-kernel/cadius
|
||||||
|
@ -18,10 +18,9 @@ add_file () {
|
||||||
}
|
}
|
||||||
|
|
||||||
add_file "out/path.BIN" "path#062000"
|
add_file "out/path.BIN" "path#062000"
|
||||||
add_file "out/bell.CMD" "bell#F04000"
|
for file in bell echo hello online chtype chtime; do
|
||||||
add_file "out/echo.CMD" "echo#F04000"
|
add_file "out/${file}.CMD" "${file}#F04000"
|
||||||
add_file "out/hello.CMD" "hello#F04000"
|
done
|
||||||
add_file "out/online.CMD" "online#F04000"
|
|
||||||
|
|
||||||
rm -r "$PACKDIR"
|
rm -r "$PACKDIR"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue