Add Makefile and gitignore.

This commit is contained in:
Eric Smith 2020-06-26 12:05:58 -06:00
parent 4f6fccbe20
commit ec59005015
2 changed files with 15 additions and 0 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
*~
*.p
*.bin
*.lst

11
Makefile Normal file
View File

@ -0,0 +1,11 @@
all: a1basic-check
%.lst %.p: %.asm
asl $< -o $*.p -LC
a1basic.bin: a1basic.p
p2bin -r '$$e000-$$efff' a1basic.p a1basic.bin
a1basic-check: a1basic.bin
echo "56d5cd968557c81a99cde298d76030f65bb7ce9a85bc2ff0fed5726d50b91499 a1basic.bin" | sha256sum -c -