summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ufs/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/ufs/Makefile b/ufs/Makefile
index f0022c91..d351caab 100644
--- a/ufs/Makefile
+++ b/ufs/Makefile
@@ -30,6 +30,10 @@ HURDLIBS = libdiskfs libports libpager libioserver libfshelp libthreads
LDFLAGS = -Wl,--no-keep-memory
target = ufs
+CPPFLAGS += -I../lib
+CPPFLAGS += $(CPPFLAGS-$(notdir $<))
+vpath %.c ../lib
+
include ../Makeconf
$(OBJS): ufs.h