summaryrefslogtreecommitdiff
path: root/ufs
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
commit0f348a6d19189b691dfd35cb13a18940dae82c97 (patch)
treea32b26483ec9704f7d60f648d8a4ee13c0ef132b /ufs
parent763cca7a08c3935945e8c29d2569e4cd85a35829 (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.
Diffstat (limited to 'ufs')
-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