From 2cb0743ac7501c6819194034799e86e10038b384 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 23 Aug 1994 13:36:06 +0000 Subject: Formerly Makeconf.~60~ --- Makeconf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makeconf b/Makeconf index ecda97b4..d0edaee2 100644 --- a/Makeconf +++ b/Makeconf @@ -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 -- cgit v1.2.3