summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-03-05 22:59:08 +0000
committerMiles Bader <miles@gnu.org>1996-03-05 22:59:08 +0000
commit8bc4e3de76f6461e62df97c40d789ecb76219e90 (patch)
treee98b7fadabcb9c83490cd376235c200d36b55a88
parent770158877180c049f988d746292c62fe99e92345 (diff)
($(target): %): Add $(target-suffix) to destination name.
-rw-r--r--Makeconf2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makeconf b/Makeconf
index 201d205d..577e61c4 100644
--- a/Makeconf
+++ b/Makeconf
@@ -173,7 +173,7 @@ _libsubst=${libsubst$(patsubst %,-override,${libsubst-override})}
# dependencies of other shared objects it encounters.
rpath := -Wl,-rpath-link=.:$(subst $. ,:,$(dir $(wildcard ../lib*/lib*.so)))
-$(target): %: $(_objs) $(OTHERLIBS)
+$(target): %$(target-suffix): $(_objs) $(OTHERLIBS)
$(CC) $(rpath) $(CFLAGS) $($@-CFLAGS) $(LDFLAGS) $($@-LDFLAGS) -o $@ \
'-Wl,-(' $(filter %.o,$^) \
$(foreach lib,$(filter-out %.o,$+),${_libsubst}) \