forked from SVModular/DrumKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
31 lines (23 loc) · 858 Bytes
/
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
# FLAGS will be passed to both the C and C++ compiler
FLAGS +=
CFLAGS +=
CXXFLAGS +=
# Careful about linking to libraries, since you can't assume much about the user's environment and library search path.
# Static libraries are fine.
LDFLAGS +=
# Controllers
CONTROLLERS += $(wildcard src/controller/*.cpp)
# SynthDevKit
SYNTHDEVKIT += $(wildcard deps/SynthDevKit/src/*.cpp)
# Views
VIEWS += $(wildcard src/view/*.cpp)
# Models
MODELS += $(wildcard src/model/*.cpp)
# Add .cpp and .c files to the build
SOURCES += $(wildcard src/*.cpp) $(SYNTHDEVKIT) $(CONTROLLERS) $(VIEWS) $(MODELS) $(wildcard deps/*.cpp)
# Add files to the ZIP package when running `make dist`
# The compiled plugin is automatically added.
DISTRIBUTABLES += $(wildcard LICENSE*) res
# Must include the VCV plugin Makefile framework
RACK_DIR ?= ../..
include $(RACK_DIR)/plugin.mk