From 8c0965deedb0662a9b265df70e79c407b28c2d2c Mon Sep 17 00:00:00 2001 From: Eric Smith Date: Sat, 17 Feb 2018 11:50:17 -0700 Subject: [PATCH] Add Makefile, .gitignore. --- .gitignore | 3 +++ Makefile | 13 +++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 .gitignore create mode 100644 Makefile diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bdc17ef --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*~ +*.bin +*.lst diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..de173f2 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +all: apple35cont.bin apple35cont.lst check + +%.p %.lst: %.asm + asl -L $< + +%.bin: %.p + p2bin -r '$$-$$' $< + +check: apple35cont.bin + echo '084587835c1d2c92f5708a9745fdd43ba32136fcdb861a12ee7d690de22dc172 apple35cont.bin' | sha256sum -c - + +clean: + rm -f apple35cont.bin apple35cont.lst