summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2013-10-26 11:22:09 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2013-10-26 11:22:09 (GMT)
commit802207f2b1daa2e27a1765b2ec1e1166f59b0e64 (patch)
tree8749eb99a29eb07ed3cae7dcfdcdcd8d852cb3bb
parentb8d6ee5040c9e2fb9dd48a27e2241f0bfab2eed3 (diff)
downloadabc80sim-802207f2b1daa2e27a1765b2ec1e1166f59b0e64.zip
abc80sim-802207f2b1daa2e27a1765b2ec1e1166f59b0e64.tar.gz
abc80sim-802207f2b1daa2e27a1765b2ec1e1166f59b0e64.tar.bz2
abc80sim-802207f2b1daa2e27a1765b2ec1e1166f59b0e64.tar.xz
Makefile rules to generate printer.bin
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--.gitignore1
-rw-r--r--Makefile.in5
-rw-r--r--z80asm/.gitignore2
3 files changed, 7 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 6ef2e45..0f36518 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,6 +3,7 @@
*.o
*.obj
*.exe
+*.lst
abcdisk
abcdir
abcrom40.c
diff --git a/Makefile.in b/Makefile.in
index 191696e..91b112e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -58,6 +58,9 @@ abcrom80.c: abcrom80.bin bin2c.pl
printer.c: printer.bin bin2c.pl
ufddos.c: ufddos.bin bin2c.pl
+printer.bin: printer.asm
+ z80asm/z80asm -l printer.lst -o printer.bin printer.asm
+
abc80.$(O): clock.h screen.h z80.h patchlevel.h
clock.$(O): clock.h z80.h
sdlscrn.$(O): screen.h z80.h
@@ -65,5 +68,5 @@ z80.$(O): z80.h
clean:
- $(RM_F) abc80$(X) *.$(O) *~ core
+ $(RM_F) abc80$(X) *.$(O) *~ core *.lst
$(RM_F) $(GENC)
diff --git a/z80asm/.gitignore b/z80asm/.gitignore
new file mode 100644
index 0000000..7364841
--- /dev/null
+++ b/z80asm/.gitignore
@@ -0,0 +1,2 @@
+*.exe
+z80asm \ No newline at end of file