From 301611ceeacd3783502826874fda6cd3ef6be290 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 7 Jul 1995 02:02:55 +0000 Subject: (Building targets) [doinst == many]: Don't try and build $(special-targets). --- Makeconf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makeconf') 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,-)' -- cgit v1.2.3