Include new files in package

This commit is contained in:
Joshua Bell 2021-03-07 19:26:19 -08:00
parent fb08e649cc
commit f5fc93e608
2 changed files with 9 additions and 10 deletions

View File

@ -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

View File

@ -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"