|
|
@@ -16,7 +16,7 @@ STRIP ?= strip |
|
|
|
|
|
|
|
DEBUG ?= false |
|
|
|
|
|
|
|
BASE_FLAGS = -Wall -Wextra |
|
|
|
BASE_FLAGS = -Wall -Wextra -fPIC |
|
|
|
|
|
|
|
ifeq ($(DEBUG),true) |
|
|
|
BASE_FLAGS += -O0 -g |
|
|
@@ -53,7 +53,7 @@ BUILD_CXX_FLAGS += -DVESTIGE_HEADER |
|
|
|
|
|
|
|
HAVE_JACK = $(shell pkg-config --exists jack && echo true) |
|
|
|
HAVE_OPENGL = $(shell pkg-config --exists gl && echo true) |
|
|
|
HAVE_QT5 = $(shell pkg-config --atleast-version=5.0 QtCore && echo true) |
|
|
|
HAVE_QT5 = $(shell pkg-config --exists Qt5Core && echo true) |
|
|
|
|
|
|
|
HAVE_AF_DEPS = $(shell pkg-config --exists libavcodec libavformat libavutil sndfile && echo true) |
|
|
|
HAVE_MF_DEPS = $(shell pkg-config --exists smf && echo true) |
|
|
@@ -74,3 +74,12 @@ ifeq ($(CARLA_RTAUDIO_SUPPORT),true) |
|
|
|
HAVE_ALSA = $(shell pkg-config --exists alsa && echo true) |
|
|
|
HAVE_PULSEAUDIO = $(shell pkg-config --exists libpulse-simple && echo true) |
|
|
|
endif |
|
|
|
|
|
|
|
# -------------------------------------------------------------- |
|
|
|
|
|
|
|
ifeq ($(HAVE_QT5),true) |
|
|
|
# Qt5 doesn't define these |
|
|
|
MOC = moc |
|
|
|
RCC = rcc |
|
|
|
UIC = uic |
|
|
|
endif |