aboutsummaryrefslogtreecommitdiffstats
path: root/tools/Makefile
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@trantor.hos.anvin.org>2009-01-04 16:46:46 -0800
committerH. Peter Anvin <hpa@trantor.hos.anvin.org>2009-01-04 16:46:46 -0800
commitea3de73710780b88fbf792e5d364c55485a4ce6a (patch)
tree5d4159e7e2763a05f48a28519b8fd0a948544a32 /tools/Makefile
parent6936fc35435ea47d8af0fc04703d00def10f42f4 (diff)
parent38926c99f232707f23e0aeb6e1117909868ca4c3 (diff)
downloadabc80-ea3de73710780b88fbf792e5d364c55485a4ce6a.tar.gz
abc80-ea3de73710780b88fbf792e5d364c55485a4ce6a.tar.xz
abc80-ea3de73710780b88fbf792e5d364c55485a4ce6a.zip
Merge branch 'de1' of ssh://terminus.zytor.com/pub/git/fpga/abc80/abc80 into de1
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/tools/Makefile b/tools/Makefile
index ed6c2e6..e165044 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -11,11 +11,14 @@ endif
all : abcprintd$(X) z80asm z80dis$(X)
-abcprintd$(X) : abcprintd.c
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
+.c.$(O):
+ $(CC) $(CFLAGS) -c -o $@ $<
-z80dis$(X) : z80dis.c
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
+abcprintd$(X) : abcprintd.$(O) fileop.$(O)
+ $(CC) $(LDFLAGS) -o $@ $^
+
+z80dis$(X) : z80dis.$(O)
+ $(CC) $(LDFLAGS) -o $@ $<
.PHONY: z80asm
z80asm :