Add Makefile, .gitignore.

This commit is contained in:
Eric Smith 2018-02-17 11:50:17 -07:00
parent 3c7223de80
commit 8c0965deed
2 changed files with 16 additions and 0 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
*~
*.bin
*.lst

13
Makefile Normal file
View File

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