summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-06-28 08:27:38 -0400
committerRich Felker <dalias@aerifal.cx>2011-06-28 08:27:38 -0400
commit8d54681f15125e5a26669128cba66cd28fc52e5b (patch)
tree431a0a4a3be9477f2426dc1921ec602ebbbc3f48
parentf9c9d8c333494c0a81301d326f28528d96594efd (diff)
downloadmusl-8d54681f15125e5a26669128cba66cd28fc52e5b.tar.gz
fix a few bugs from last dynamic linking build system commit
some cruft was left and DESTDIR was not being used correctly.
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 59ba71e8..f0278075 100644
--- a/Makefile
+++ b/Makefile
@@ -43,9 +43,9 @@ LDSO_PATHNAME = $(syslibdir)/ld-musl-$(ARCH).so.1
-include config.mak
-all: $(ALL_LIBS) $(ALL_TOOLS) $(ALL_LDSO)
+all: $(ALL_LIBS) $(ALL_TOOLS)
-install: $(ALL_LIBS:lib/%=$(DESTDIR)$(libdir)/%) $(ALL_INCLUDES:include/%=$(DESTDIR)$(includedir)/%) $(ALL_TOOLS:tools/%=$(DESTDIR)$(bindir)/%) $(ALL_LDSO:%=$(DESTDIR)/%) $(LDSO_PATHNAME)
+install: $(ALL_LIBS:lib/%=$(DESTDIR)$(libdir)/%) $(ALL_INCLUDES:include/%=$(DESTDIR)$(includedir)/%) $(ALL_TOOLS:tools/%=$(DESTDIR)$(bindir)/%) $(DESTDIR)$(LDSO_PATHNAME)
clean:
rm -f crt/*.o