summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-05-20 04:38:37 +0000
committerMiles Bader <miles@gnu.org>1995-05-20 04:38:37 +0000
commit3cbe9cfbee2538964d5789f0f3d8794eb6289e69 (patch)
treea8ef195c55a01d3f9bd2be00c9cd3519d339dc87
parentf4cf2dbac585812b06f0611002e5e23e8717c24e (diff)
(CPPFLAGS): Add -I../lib, to get include lib include files,
and $(CPPFLAGS-$(notdir $<)) to get file-specific cpp options. Add a vpath for %.c to ../lib, so we can use source files from there.
-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