Skip to content

Commit

Permalink
Honour PREFIX if set
Browse files Browse the repository at this point in the history
- also get the CXXFLAGS for lv2 using pkg-config
  • Loading branch information
hfiguiere committed Sep 27, 2020
1 parent 5d52a0c commit cb5808c
Show file tree
Hide file tree
Showing 29 changed files with 31 additions and 29 deletions.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@

PREFIX = /usr
PREFIX ?= /usr
DESTDIR =

CXXFLAGS += `pkg-config --cflags lv2`

all: build

build:
Expand Down
2 changes: 1 addition & 1 deletion Makefile.single
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 0.9.26

PREFIX = /usr/local
PREFIX ?= /usr/local
DESTDIR =

CXX ?= g++
Expand Down
2 changes: 1 addition & 1 deletion plugins/mod-caps-AmpVTS.lv2/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 0.9.26

PREFIX = /usr/local
PREFIX ?= /usr/local
DESTDIR =

CXX ?= g++
Expand Down
2 changes: 1 addition & 1 deletion plugins/mod-caps-AutoFilter.lv2/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 0.9.26

PREFIX = /usr/local
PREFIX ?= /usr/local
DESTDIR =

CXX ?= g++
Expand Down
2 changes: 1 addition & 1 deletion plugins/mod-caps-CEO.lv2/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 0.9.26

PREFIX = /usr/local
PREFIX ?= /usr/local
DESTDIR =

CXX ?= g++
Expand Down
2 changes: 1 addition & 1 deletion plugins/mod-caps-CabinetIII.lv2/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 0.9.26

PREFIX = /usr/local
PREFIX ?= /usr/local
DESTDIR =

CXX ?= g++
Expand Down
2 changes: 1 addition & 1 deletion plugins/mod-caps-CabinetIV.lv2/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 0.9.26

PREFIX = /usr/local
PREFIX ?= /usr/local
DESTDIR =

CXX ?= g++
Expand Down
2 changes: 1 addition & 1 deletion plugins/mod-caps-ChorusI.lv2/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 0.9.26

PREFIX = /usr/local
PREFIX ?= /usr/local
DESTDIR =

CXX ?= g++
Expand Down
2 changes: 1 addition & 1 deletion plugins/mod-caps-Click.lv2/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 0.9.26

PREFIX = /usr/local
PREFIX ?= /usr/local
DESTDIR =

CXX ?= g++
Expand Down
2 changes: 1 addition & 1 deletion plugins/mod-caps-Compress.lv2/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 0.9.26

PREFIX = /usr/local
PREFIX ?= /usr/local
DESTDIR =

CXX ?= g++
Expand Down
2 changes: 1 addition & 1 deletion plugins/mod-caps-CompressX2.lv2/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 0.9.26

PREFIX = /usr/local
PREFIX ?= /usr/local
DESTDIR =

CXX ?= g++
Expand Down
2 changes: 1 addition & 1 deletion plugins/mod-caps-Eq10.lv2/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 0.9.26

PREFIX = /usr/local
PREFIX ?= /usr/local
DESTDIR =

CXX ?= g++
Expand Down
2 changes: 1 addition & 1 deletion plugins/mod-caps-Eq10X2.lv2/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 0.9.26

PREFIX = /usr/local
PREFIX ?= /usr/local
DESTDIR =

CXX ?= g++
Expand Down
2 changes: 1 addition & 1 deletion plugins/mod-caps-Eq4p.lv2/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 0.9.26

PREFIX = /usr/local
PREFIX ?= /usr/local
DESTDIR =

CXX ?= g++
Expand Down
2 changes: 1 addition & 1 deletion plugins/mod-caps-EqFA4p.lv2/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 0.9.26

PREFIX = /usr/local
PREFIX ?= /usr/local
DESTDIR =

CXX ?= g++
Expand Down
2 changes: 1 addition & 1 deletion plugins/mod-caps-Fractal.lv2/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 0.9.26

PREFIX = /usr/local
PREFIX ?= /usr/local
DESTDIR =

CXX ?= g++
Expand Down
2 changes: 1 addition & 1 deletion plugins/mod-caps-Narrower.lv2/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 0.9.26

PREFIX = /usr/local
PREFIX ?= /usr/local
DESTDIR =

CXX ?= g++
Expand Down
2 changes: 1 addition & 1 deletion plugins/mod-caps-Noisegate.lv2/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 0.9.26

PREFIX = /usr/local
PREFIX ?= /usr/local
DESTDIR =

CXX ?= g++
Expand Down
2 changes: 1 addition & 1 deletion plugins/mod-caps-PhaserII.lv2/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 0.9.26

PREFIX = /usr/local
PREFIX ?= /usr/local
DESTDIR =

CXX ?= g++
Expand Down
2 changes: 1 addition & 1 deletion plugins/mod-caps-Plate.lv2/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 0.9.26

PREFIX = /usr/local
PREFIX ?= /usr/local
DESTDIR =

CXX ?= g++
Expand Down
2 changes: 1 addition & 1 deletion plugins/mod-caps-PlateX2.lv2/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 0.9.26

PREFIX = /usr/local
PREFIX ?= /usr/local
DESTDIR =

CXX ?= g++
Expand Down
2 changes: 1 addition & 1 deletion plugins/mod-caps-Saturate.lv2/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 0.9.26

PREFIX = /usr/local
PREFIX ?= /usr/local
DESTDIR =

CXX ?= g++
Expand Down
2 changes: 1 addition & 1 deletion plugins/mod-caps-Scape.lv2/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 0.9.26

PREFIX = /usr/local
PREFIX ?= /usr/local
DESTDIR =

CXX ?= g++
Expand Down
2 changes: 1 addition & 1 deletion plugins/mod-caps-Sin.lv2/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 0.9.26

PREFIX = /usr/local
PREFIX ?= /usr/local
DESTDIR =

CXX ?= g++
Expand Down
2 changes: 1 addition & 1 deletion plugins/mod-caps-Spice.lv2/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 0.9.26

PREFIX = /usr/local
PREFIX ?= /usr/local
DESTDIR =

CXX ?= g++
Expand Down
2 changes: 1 addition & 1 deletion plugins/mod-caps-SpiceX2.lv2/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 0.9.26

PREFIX = /usr/local
PREFIX ?= /usr/local
DESTDIR =

CXX ?= g++
Expand Down
2 changes: 1 addition & 1 deletion plugins/mod-caps-ToneStack.lv2/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 0.9.26

PREFIX = /usr/local
PREFIX ?= /usr/local
DESTDIR =

CXX ?= g++
Expand Down
2 changes: 1 addition & 1 deletion plugins/mod-caps-White.lv2/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 0.9.26

PREFIX = /usr/local
PREFIX ?= /usr/local
DESTDIR =

CXX ?= g++
Expand Down
2 changes: 1 addition & 1 deletion plugins/mod-caps-Wider.lv2/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 0.9.26

PREFIX = /usr/local
PREFIX ?= /usr/local
DESTDIR =

CXX ?= g++
Expand Down

0 comments on commit cb5808c

Please sign in to comment.