summaryrefslogtreecommitdiff
path: root/Makeconf
diff options
context:
space:
mode:
Diffstat (limited to 'Makeconf')
-rw-r--r--Makeconf4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makeconf b/Makeconf
index e4bbe206..60a93201 100644
--- a/Makeconf
+++ b/Makeconf
@@ -26,6 +26,8 @@
# Types `servers' and `utilities' should define
# targets (the names of all the programs built)
# foo-HURDLIBS (for each target FOO)
+# special-targets (targets which should not be built the normal way
+# and have their own rules)
# Type `library' should define
# libname (the name of the library, without .a.)
@@ -168,7 +170,7 @@ $(target): $(OBJS) $(HURDLIBS-files) $(OTHERLIBS)
endif
ifeq ($(doinst),many)
-$(targets): %:
+$(filter-out $(special-targets),$(targets)): %:
$(CC) $(CFLAGS) $($@-CFLAGS) $(LDFLAGS) $($@-LDFLAGS) \
-o $@ '-Wl,-(' $(filter-out $(HURDLIBS-files),$+) \
$(HURDLIBS-libs) $($@-OTHERLIBS) $(libc) '-Wl,-)'