summaryrefslogtreecommitdiff
path: root/pfinet/Makefile
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-11-08 19:51:17 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-11-08 19:51:17 +0000
commitd69d3c383bb0c204c6e38b442ff513db6c13e60d (patch)
tree996dc980cb2b4783334c98ccf831ead8b9f9281d /pfinet/Makefile
parentd461cfc6f412e624cb9bef8e8440c0b6129d1911 (diff)
Formerly Makefile.~13~
Diffstat (limited to 'pfinet/Makefile')
-rw-r--r--pfinet/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/pfinet/Makefile b/pfinet/Makefile
index b0fc8001..6f8145bf 100644
--- a/pfinet/Makefile
+++ b/pfinet/Makefile
@@ -30,7 +30,7 @@ SRCS = sched.c timer-emul.c devices.c socket.c main.c ethernet.c \
MIGSRCS = ioServer.c socketServer.c
OBJS= $(subst .c,.o,$(LINUXSRCS) $(SRCS) $(MIGSRCS))
-pfinet: $(OBJS) ../libthreads/libthreads.a ../libports/libports.a ../libihash/libihash.a
+pfinet: $(OBJS) ../libtrivfs/libtrivfs.a ../libthreads/libthreads.a ../libports/libports.a ../libihash/libihash.a
vpath %.c linux-inet
@@ -43,3 +43,7 @@ CPPFLAGS += -I. -imacros config.h
io-MIGSFLAGS = -imacros mutations.h
socket-MIGSFLAGS = -imacros mutations.h
+# cpp doesn't automatically make dependencies for -imacros dependencies. argh.
+io_S.h ioServer.c socket_S.h socketServer.c: mutations.h
+$(OBJS): config.h
+