-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
84 lines (58 loc) · 2.24 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
#!/usr/bin/make -f
# Makefile for LDPF Plugin #
# --------------------------- #
# Initially created by falkTX
#
# --------------------------------------------------------------
# Project name (used for binaries) has to be specified in the
# variable NAME in the file info.mk within this directory.
# --------------------------------------------------------------
# --------------------------------------------------------------
# Setting up basic variables
# --------------------------------------------------------------
# Path to the root directory, where dpf and ldpf subdirectories
# are located:
LDPF_ROOT_PATH := ../..
include $(LDPF_ROOT_PATH)/ldpf/Makefile.base.mk
# --------------------------------------------------------------
# This Makefile for dependencies (see below)
THIS_MAKEFILE := ./Makefile
# --------------------------------------------------------------
# Parameters for DPF
# --------------------------------------------------------------
# Files to build
FILES_DSP = \
Example01Plugin.cpp
FILES_UI = \
Example01UI.cpp
# --------------------------------------------------------------
# Parameters for LDPF
# --------------------------------------------------------------
ifeq ($(LUA_DEBUG),true)
# Lua modules path for overriding builtin Lua modules for debugging purposes.
LDPF_UI_FLAGS += -D'LDPF_EXAMPLE01_LUA_PATH="$(shell pwd)/lua/?.lua;$(shell pwd)/lua/?/init.lua"'
endif
# Path to plugin's lua source modules root directory. Non *.lua files in
# this directory are handled as resource files and will also be
# included in the plugin.
LDPF_LUA_SOURCE_PATH := lua
# --------------------------------------------------------------
# include generic makefile for plugins
include $(LDPF_ROOT_PATH)/ldpf/Makefile.plugins.mk
# --------------------------------------------------------------
# Recompile for definition changes in this Makefile
$(BUILD_DIR)/Example01UI.cpp.o: $(THIS_MAKEFILE)
# --------------------------------------------------------------
# Enable all possible plugin types
ifeq ($(HAVE_JACK),true)
TARGETS += jack
endif
ifneq ($(MACOS_OR_WINDOWS),true)
ifeq ($(HAVE_LIBLO),true)
TARGETS += dssi
endif
endif
TARGETS += lv2_sep
TARGETS += vst
all: $(TARGETS)
# --------------------------------------------------------------