-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
70 lines (47 loc) · 1.66 KB
/
Makefile
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#!/usr/bin/make -f
# Makefile for DISTRHO Plugins #
# ---------------------------- #
# Created by falkTX
#
# --------------------------------------------------------------
# Project name, used for binaries
NAME = CastelloReverb
# --------------------------------------------------------------
# Project version, used for generating unique symbol names
DPF_WEBUI_PROJECT_VERSION = 3
# --------------------------------------------------------------
# Automatically inject dpf.js
DPF_WEBUI_INJECT_FRAMEWORK_JS = true
# Enable ARM and Intel fat binary for macOS
DPF_WEBUI_MACOS_UNIVERSAL = true
# --------------------------------------------------------------
# Support macOS down to High Sierra
DPF_WEBUI_MACOS_OLD = true
# --------------------------------------------------------------
# Enable Web UI by setting web files location
DPF_WEBUI_WEB_UI_PATH = src/ui
# --------------------------------------------------------------
# Files to build
FILES_DSP = \
src/CastelloReverbPlugin.cpp \
src/dsp/base.c \
src/dsp/revsc.c
FILES_UI = \
src/CastelloReverbUI.cpp
# --------------------------------------------------------------
# Do some magic
include dpfwebui/Makefile.plugins.mk
# --------------------------------------------------------------
# Enable all possible plugin types
ifeq ($(PLUGIN_FORMAT),)
TARGETS += lv2_sep clap vst3 vst
else
TARGETS += $(PLUGIN_FORMAT)
endif
LXHELPER_CPPFLAGS += -Isrc
BASE_FLAGS += -Isrc
# Required for soundpipe.h
BASE_FLAGS += -DNO_LIBSNDFILE -DSNDFILE=FILE -DSF_INFO=char \
-Wno-sign-compare -Wno-unused-parameter
all: $(TARGETS) $(DPF_WEBUI_TARGET)
# --------------------------------------------------------------