aboutsummaryrefslogtreecommitdiffstats
path: root/tools/Makefile
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-01-04 16:42:42 -0800
committerH. Peter Anvin <hpa@zytor.com>2009-01-04 16:42:42 -0800
commitbc0fb6e12bd1999f38d39199164edb47ea56c6b2 (patch)
tree9d3363da80af4cdeb9f9769b21b811c5cfd769ff /tools/Makefile
parent81eed1d4265ae193cf334edfe5aeb0b68418ffcf (diff)
downloadabc80-bc0fb6e12bd1999f38d39199164edb47ea56c6b2.tar.gz
abc80-bc0fb6e12bd1999f38d39199164edb47ea56c6b2.tar.xz
abc80-bc0fb6e12bd1999f38d39199164edb47ea56c6b2.zip
abcprintd: initial implementation of a remote access protocol
Completely untested, but "at least it compiles" implementation of a remote file access protocol in abcprintd.
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 :