summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDamien Zammit <damien@zamaudio.com>2014-04-26 12:28:32 +1000
committerDamien Zammit <damien@zamaudio.com>2014-04-26 12:28:32 +1000
commit35b54614b076284590756ea903c9ee4dc955672a (patch)
treede80b362ac8cce50a480915d7368eb1259d0bc5f /Makefile
parent9e856f7c7bd289e21911986819fa91066904b78c (diff)
Fixed optimisation flags
Signed-off-by: Damien Zammit <damien@zamaudio.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 1 insertions, 17 deletions
diff --git a/Makefile b/Makefile
index 9766c19..b8ea2ff 100644
--- a/Makefile
+++ b/Makefile
@@ -1,15 +1,6 @@
PREFIX ?= /usr/local
LIBDIR ?= lib
-# No heavy optimisations
-OPTIMIZATIONS ?= -O2 -ffast-math
-
-# Heavy optimisations
-#OPTIMIZATIONS ?= -O2 -ffast-math -mtune=generic -msse -msse2 -mfpmath=sse
-
-# Raspberry Pi
-#OPTIMIZATIONS ?= -O2 -ffast-math -march=armv6 -mfpu=vfp -mfloat-abi=hard
-
NAME = zam-plugins
VERSION = $(shell cat .version)
@@ -32,14 +23,7 @@ $(PLUGINS): libs
install: all
install -d $(DESTDIR)$(PREFIX)/$(LIBDIR)/ladspa \
$(DESTDIR)$(PREFIX)/$(LIBDIR)/lv2 ; \
- if test 'x$(OPTIMIZATIONS)' != 'x'; then \
- optimizations='OPTIMIZATIONS=$(OPTIMIZATIONS)'; \
- else \
- optimizations=''; \
- fi; \
for plugin in $(PLUGINS); do \
- $(MAKE) PREFIX="$(PREFIX)" LIBDIR="$(LIBDIR)" "$$optimizations" \
- -C plugins/"$$plugin"; \
install -d $(DESTDIR)$(PREFIX)/$(LIBDIR)/lv2/"$$plugin".lv2 ; \
install -t $(DESTDIR)$(PREFIX)/$(LIBDIR)/lv2/"$$plugin".lv2 \
bin/"$$plugin".lv2/* ; \
@@ -49,7 +33,7 @@ install: all
uninstall:
for plugin in $(PLUGINS); do \
rm -rf $(DESTDIR)$(PREFIX)/$(LIBDIR)/lv2/"$$plugin".lv2 ; \
- rm -f $(DESTDIR)$(PREFIX)/$(LIBDIR)/ladspa/"$$plugin"-ladspa.so ; \
+ #rm -f $(DESTDIR)$(PREFIX)/$(LIBDIR)/ladspa/"$$plugin"-ladspa.so ;
done