diff options
Diffstat (limited to 'pfinet/Makefile')
-rw-r--r-- | pfinet/Makefile | 6 |
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 + |