aboutsummaryrefslogtreecommitdiff
path: root/Rules
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-02-20 10:23:07 +0000
committerRoland McGrath <roland@gnu.org>1995-02-20 10:23:07 +0000
commit96f873b9215ea1a75e2b17c055fe5c6ad32e10d6 (patch)
tree91f62a75db7a944bb19e751077278c75e966f3e3 /Rules
parent0923c7a543d377bae9da0ad7075c8f9664ae70dc (diff)
downloadglibc-96f873b9215ea1a75e2b17c055fe5c6ad32e10d6.tar
glibc-96f873b9215ea1a75e2b17c055fe5c6ad32e10d6.tar.gz
glibc-96f873b9215ea1a75e2b17c055fe5c6ad32e10d6.tar.bz2
glibc-96f873b9215ea1a75e2b17c055fe5c6ad32e10d6.zip
* Makeconfig [elf=yes] (+preinit, +postinit): New variables, set
to crt[in].o. (csu-objpfx): New variable. (+link): Use it to find start.o and $(+preinit), $(+postinit). * Rules (subdir_lib, all): Depend on objs.
Diffstat (limited to 'Rules')
-rw-r--r--Rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rules b/Rules
index 2d33edcbc4..c40e9b2f30 100644
--- a/Rules
+++ b/Rules
@@ -36,7 +36,7 @@ export subdir := $(subdir)
# This is the default target; it makes the library and auxiliary programs.
.PHONY: all
-all: lib others
+all: objs lib others
ifneq "$(findstring env,$(origin headers))" ""
headers :=
@@ -55,7 +55,7 @@ endif
include ../Makerules
.PHONY: subdir_lib
-subdir_lib: lib-noranlib
+subdir_lib: objs lib-noranlib
# Some subdirs need to install a dummy library.
# They can use "$(objpfx)libfnord.a: $(dep-dummy-lib); $(make-dummy-lib)".