diff options
author | Rich Felker <dalias@aerifal.cx> | 2016-02-19 14:16:33 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-02-19 14:16:33 -0500 |
commit | 8b084f06d0e17a8814147c386042f19829aff961 (patch) | |
tree | bf5efe669b1558aee431505980a5479d4fbe6196 | |
parent | 4c101e158a59eafb8adbfeabab13a8747e4a97cb (diff) | |
download | musl-8b084f06d0e17a8814147c386042f19829aff961.tar.gz |
generate list of crt files to install instead of hard-coding in makefile
this follows the principle of having the source tree layout define
build semantics. it also makes it possible for crt/$(ARCH) to define
additional installable files, which may be needed for midipix and
other future targets.
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -62,7 +62,7 @@ ALL_INCLUDES = $(sort $(INCLUDES:$(srcdir)/%=%) $(GENH:obj/%=%) $(ARCH_INCLUDES: EMPTY_LIB_NAMES = m rt pthread crypt util xnet resolv dl EMPTY_LIBS = $(EMPTY_LIB_NAMES:%=lib/lib%.a) -CRT_LIBS = lib/crt1.o lib/Scrt1.o lib/rcrt1.o lib/crti.o lib/crtn.o +CRT_LIBS = $(addprefix lib/,$(notdir $(CRT_OBJS))) STATIC_LIBS = lib/libc.a SHARED_LIBS = lib/libc.so TOOL_LIBS = lib/musl-gcc.specs |