summaryrefslogtreecommitdiff
path: root/Makeconf
diff options
context:
space:
mode:
Diffstat (limited to 'Makeconf')
-rw-r--r--Makeconf7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makeconf b/Makeconf
index d29698e5..3985b10f 100644
--- a/Makeconf
+++ b/Makeconf
@@ -175,6 +175,9 @@ endif
endif
# Installation
+ifneq ($(makemode),library)
+
+# not library
ifndef targets
targets = $(target)
endif
@@ -184,8 +187,10 @@ all: $(install-targets)
install: $(installationdir) $(addprefix $(installationdir)/,$(install-targets))
$(addprefix $(installationdir)/,$(installable)): $(installationdir)/%: %
$(INSTALL_PROGRAM) $(INSTALL-$<-ops) $< $@
+else
+
+# library (several parts, library itself, headers, etc.)
-ifeq ($(makemode),library)
all: libs
install libs: add-to-librecord
add-to-librecord: $(targets)