diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-07-07 02:02:55 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-07-07 02:02:55 +0000 |
commit | 301611ceeacd3783502826874fda6cd3ef6be290 (patch) | |
tree | 1694b32e78af1212470169d9e02fde9182e388cf /Makeconf | |
parent | f6fe2087d876fbbb689e186e46da0d9de32b66f8 (diff) |
(Building targets) [doinst == many]: Don't try and build
$(special-targets).
Diffstat (limited to 'Makeconf')
-rw-r--r-- | Makeconf | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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,-)' |