diff options
author | Roland McGrath <roland@gnu.org> | 1998-09-04 18:02:56 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1998-09-04 18:02:56 +0000 |
commit | 3f42726cae7f7b867d29dfe2f0639709c7c4fc61 (patch) | |
tree | 754d0096e27e241028ecbd46ad45ee50770249b6 /Makeconf | |
parent | e1f9b7fa12ec4ab01cefb6f28b01e593c9619720 (diff) |
1998-09-04 Roland McGrath <roland@baalperazim.frob.com>
* Makeconf (objs): New target, just compile w/o ar or ld.
(OBJS): Remove bogus `%.o' default defn.
* Makefile (objs, %-objs): New subdir target.
Diffstat (limited to 'Makeconf')
-rw-r--r-- | Makeconf | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -148,7 +148,16 @@ BUGADDR_REF = -uargp_program_bug_address # Standard targets -.PHONY: all install libs relink clean +.PHONY: all install libs relink clean objs + +# Just build all the object files. +objs: $(OBJS) +ifneq ($(no_prof),t) +objs: $(OBJS:%.o=%_p.o) +endif +ifneq ($(no_pic),t) +objs: $(OBJS:%.o=%_pic.o) +endif # Installation ifeq ($(doinst),one) @@ -213,10 +222,6 @@ $(installationdirlist): %: @$(MKINSTALLDIRS) $@ # Building the target -ifeq ($(OBJS),) -OBJS=%.o -endif - ifeq ($(doinst),many) target = $(filter-out $(special-targets),$(targets)) endif |