summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfalkTX <falktx@gmail.com>2017-01-31 15:33:26 +0100
committerfalkTX <falktx@gmail.com>2017-01-31 15:33:26 +0100
commit4ba1177f57ae009dfaddce1bf1e61d8fbbe76c88 (patch)
treed8348b51f90d3332176fadd8c104dd641c6e32a0
parent3501810d403fdf5c35031dc3ac65ad56c13a8d2a (diff)
Make OpenGL optional
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 863eecc..7665af7 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,9 @@ include Makefile.mk
all: libs $(PLUGINS) gen
libs:
+ifeq ($(HAVE_DGL),true)
$(MAKE) -C dpf/dgl
+endif
gen: $(PLUGINS) dpf/utils/lv2_ttl_generator
@$(CURDIR)/dpf/utils/generate-ttl.sh
@@ -63,7 +65,9 @@ clean:
for plugin in $(PLUGINS); do \
$(MAKE) -C plugins/"$$plugin" clean; \
done
+ifeq ($(HAVE_DGL),true)
$(MAKE) clean -C dpf/dgl
+endif
$(MAKE) clean -C dpf/utils/lv2-ttl-generator
# --------------------------------------------------------------