summaryrefslogtreecommitdiff
path: root/plugins/ZamHeadX2/Makefile
blob: 28e69317ee806949682f0e7c73c2f0d4a8aa3f23 (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
#!/usr/bin/make -f
# Makefile for zam-plugins #
# ------------------------ #
# Created by falkTX
#

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

NAME = ZamHeadX2

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

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

OBJS_DSP += \
	convolution.cpp.o \
	ZamHeadX2Plugin.cpp.o

OBJS_UI  = \
	ZamHeadX2Artwork.cpp.o \
	ZamHeadX2UI.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)

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