Changeset View
Changeset View
Standalone View
Standalone View
audio/GxSwitchlessWah-lv2/files/patch-Makefile
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- Makefile.orig 2016-10-17 03:21:32 UTC | |||||
+++ Makefile | |||||
@@ -1,11 +1,11 @@ | |||||
# check if user is root | |||||
user = $(shell whoami) | |||||
- ifeq ($(user),root) | |||||
- INSTALL_DIR = /usr/lib/lv2 | |||||
- else | |||||
- INSTALL_DIR = ~/.lv2 | |||||
- endif | |||||
+ #ifeq ($(user),root) | |||||
+ INSTALL_DIR = $(PREFIX)/lib/lv2 | |||||
+ #else | |||||
+ #INSTALL_DIR = ~/.lv2 | |||||
+ #endif | |||||
# check CPU and supported optimization flags | |||||
ifneq ($(shell cat /proc/cpuinfo | grep sse3 ) , ) | |||||
@@ -33,8 +33,8 @@ | |||||
BUNDLE = GxSwitchlessWah.lv2 | |||||
VER = 0.1 | |||||
# set compile flags | |||||
- CXXFLAGS = -I. -O2 -Wall -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce $(SSE_CFLAGS) | |||||
- LDFLAGS = -I. -shared -Llibrary -lc -lm -fPIC -DPIC | |||||
+ CXXFLAGS += -I. -Wall -funroll-loops -ffast-math -fstrength-reduce $(SSE_CFLAGS) | |||||
+ LDFLAGS += -I. -shared -Llibrary -lc -lm -fPIC -DPIC | |||||
# invoke build files | |||||
OBJECTS = $(NAME).cpp | |||||
## output style (bash colours) |