summaryrefslogtreecommitdiff
path: root/plugins/ZamVerb/Makefile
blob: a08e334946c192ad1e852b919c322f6c4a034882 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/usr/bin/make -f
# Makefile for zam-plugins #
# ------------------------ #
# Created by falkTX
#

# --------------------------------------------------------------
# Project name, used for binaries

NAME = ZamVerb

# --------------------------------------------------------------
# Files to build

OBJS_DSP = \
	ZamVerbPlugin.cpp.o \
	ZamVerbImpulses.cpp.o \
	convolution.cpp.o

ifneq ($(HAVE_ZITA_CONVOLVER),true)
OBJS_DSP += ../../lib/zita-convolver-4.0.0/zita-convolver.cpp.o
endif

OBJS_UI  = \
	ZamVerbArtwork.cpp.o \
	ZamVerbUI.cpp.o

# --------------------------------------------------------------
# Do some magic

include ../Makefile.mk

# --------------------------------------------------------------

ifeq ($(HAVE_JACK),true)
TARGETS += jack
endif

ifeq ($(HAVE_DGL),true)
TARGETS += lv2_sep
else
TARGETS += lv2_dsp
endif

ifeq ($(HAVE_ZITA_CONVOLVER),true)
BASE_FLAGS += -DHAVE_ZITA_CONVOLVER
LINK_FLAGS += $(ZITA_CONVOLVER_LIBS)
endif

TARGETS += vst

all: $(TARGETS)

# --------------------------------------------------------------