diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-08-23 13:36:06 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-08-23 13:36:06 +0000 |
commit | 2cb0743ac7501c6819194034799e86e10038b384 (patch) | |
tree | 288c5ece241bbc58d93c16e5824aded2dc096607 /Makeconf | |
parent | 24fabe2d8fe07b3190eafcbcc00fbff2c0a78158 (diff) |
Formerly Makeconf.~60~
Diffstat (limited to 'Makeconf')
-rw-r--r-- | Makeconf | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -148,13 +148,13 @@ install: # Each word of $(HURDLIBS) is a library name `libfoo', which is defined as # a variable above with the complete file name to find it. +# Yippee! A use for computed variable references! HURDLIBS-files := $(foreach var,$(HURDLIBS),$($(var))) #HURDLIBS-libs := $(foreach lib,$(HURDLIBS-files), \ # -L$(dir $(lib)) \ # $(patsubst lib%.a,-l%,$(notdir $(lib)))) # Building the target -# Yippee! A use for computed variable references! ifeq ($(doinst),one) $(target): $(OBJS) $(HURDLIBS-files) $(OTHERLIBS) $(libc) $(CC) $(CFLAGS) $(LDFLAGS) -o $(target) $(link-objects) @@ -163,7 +163,7 @@ $(target): $(OBJS) $(HURDLIBS-files) $(OTHERLIBS) $(libc) # -lg avoids "No input files" error. link-objects = -nostdlib -Wl,$(subst $(empty) ,$(comma),$(strip \ $(startup) $(OBJS) -\( $(HURDLIBS-files) $(OTHERLIBS) -\) \ - -\( $(sort $(libc)) -lgcc -\))) -lg -v + -\( $(sort $(libc)) -lgcc -\))) -lg empty = comma = , endif |