summaryrefslogtreecommitdiff
path: root/Makeconf
diff options
context:
space:
mode:
Diffstat (limited to 'Makeconf')
-rw-r--r--Makeconf15
1 files changed, 10 insertions, 5 deletions
diff --git a/Makeconf b/Makeconf
index b7c0a170..c09a31e9 100644
--- a/Makeconf
+++ b/Makeconf
@@ -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