-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (21 loc) · 967 Bytes
/
Copy pathMakefile
File metadata and controls
29 lines (21 loc) · 967 Bytes
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
# FLAGS will be passed to both the C and C++ compiler
FLAGS +=
#CFLAGS += -g #-fno-omit-frame-pointer -fsanitize=address
#CXXFLAGS += -g #-fno-omit-frame-pointer -fsanitize=address
# 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 += -g #-fsanitize=address
# Controllers
CONTROLLERS += $(wildcard src/controller/*.cpp)
# Views
VIEWS += $(wildcard src/view/*.cpp)
# Models
MODELS += $(wildcard src/model/*.cpp) $(wildcard src/model/dsp/*.cpp) $(wildcard src/model/fft/*.c) $(wildcard src/model/noise/*.cpp)
# Add .cpp and .c files to the build
SOURCES += $(wildcard src/*.cpp) $(CONTROLLERS) $(VIEWS) $(MODELS)
# 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