summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/libdiskfs/Makefile b/libdiskfs/Makefile
index a96bc493..938281c6 100644
--- a/libdiskfs/Makefile
+++ b/libdiskfs/Makefile
@@ -74,6 +74,11 @@ vpath %.c ../lib
include ../Makeconf
# We don't use those, so we're safe in breaking them.
-ourfs_notify_U.h ourfs_notifyUser.c: $(includedir)/hurd/fs_notify.defs $(includedir)/hurd/hurd_types.defs
- $(CPP) $(CPPFLAGS) -Droutine=simpleroutine $(includedir)/hurd/fs_notify.defs \
+ourfs_notify_U.h ourfs_notifyUser.c: ourfs_notify.defs $(includedir)/hurd/hurd_types.defs
+ $(CPP) $(CPPFLAGS) -Droutine=simpleroutine ourfs_notify.defs \
| $(MIGCOM) -prefix nowait_ -server /dev/null -user ourfs_notifyUser.c -header ourfs_notify_U.h
+
+ourfs_notify.defs: $(includedir)/hurd/fs_notify.defs
+ rm -f $@
+ ln $< $@
+