summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Zammit <damien@zamaudio.com>2017-02-11 18:42:18 +1100
committerGitHub <noreply@github.com>2017-02-11 18:42:18 +1100
commit482aaa982428cd30b5cfca2555dc448be6c15873 (patch)
treed8348b51f90d3332176fadd8c104dd641c6e32a0
parent3501810d403fdf5c35031dc3ac65ad56c13a8d2a (diff)
parent4ba1177f57ae009dfaddce1bf1e61d8fbbe76c88 (diff)
Merge pull request #49 from falkTX/master
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
# --------------------------------------------------------------