forked from ValleyAudio/ValleyRackFree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
executable file
·97 lines (87 loc) · 2.65 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
85
86
87
88
89
90
91
92
93
94
95
96
97
# Macro to use on any target where we don't normally want asserts
ASSERTOFF = -D NDEBUG
# Make _ASSERT=true will nullify our ASSERTOFF flag, thus allowing them
ifdef _ASSERT
ASSERTOFF =
endif
# This turns asserts off for make (plugin), not for test or perf
FLAGS += $(ASSERTOFF)
# FLAGS will be passed to both the C and C++ compiler
CFLAGS += -O3 -std=c99 -Isrc
CXXFLAGS += -O3 -Isrc
# 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 +=
# Add .cpp and .c files to the build
SOURCES = $(wildcard src/*.cpp src/*.c src/*/*.cpp src/*/*.c src/*/*/*.cpp src/*/*/*/c)
# Must include the VCV plugin Makefile framework
RACK_DIR ?= ../..
BINARIES += src/ADD_BANK1.bin
BINARIES += src/ADD_BANK2.bin
BINARIES += src/ADD_BANK3.bin
BINARIES += src/ADD_BANK4.bin
BINARIES += src/ADD_SAW.bin
BINARIES += src/ADD_SINE.bin
BINARIES += src/ADD_SQR.bin
BINARIES += src/ALTOSAX.bin
BINARIES += src/AM_HARM.bin
BINARIES += src/BASIC.bin
BINARIES += src/BI_PULSE.bin
BINARIES += src/BITCRUSH1.bin
BINARIES += src/BITCRUSH2.bin
BINARIES += src/CELLO_1.bin
BINARIES += src/CELLO_2.bin
BINARIES += src/CHIP_1.bin
BINARIES += src/CHIP_2.bin
BINARIES += src/CHIRP.bin
BINARIES += src/DISTORT.bin
BINARIES += src/EBASS.bin
BINARIES += src/FM1.bin
BINARIES += src/FM2.bin
BINARIES += src/FM3.bin
BINARIES += src/FM4.bin
BINARIES += src/FOLD_SINE.bin
BINARIES += src/GMTRY_1.bin
BINARIES += src/GMTRY_2.bin
BINARIES += src/GMTRY_3.bin
BINARIES += src/GRIT.bin
BINARIES += src/LINEAR.bin
BINARIES += src/OBOE.bin
BINARIES += src/OPAL.bin
BINARIES += src/OVERTONE1.bin
BINARIES += src/OVERTONE2.bin
BINARIES += src/PIANO.bin
BINARIES += src/PLAITS_1.bin
BINARIES += src/PLAITS_2.bin
BINARIES += src/PLAITS_3.bin
BINARIES += src/PLUCK.bin
BINARIES += src/PWM.bin
BINARIES += src/REED.bin
BINARIES += src/RESO_SAW.bin
BINARIES += src/RESO_SQR.bin
BINARIES += src/SAW_GAP1.bin
BINARIES += src/SAW_GAP2.bin
BINARIES += src/SAW_PHASE.bin
BINARIES += src/SINE_HARM.bin
BINARIES += src/SWEEPHARM.bin
BINARIES += src/SYMMETRY.bin
BINARIES += src/TEE_EKS.bin
BINARIES += src/THEREMIN.bin
BINARIES += src/TWO_OP_RAND.bin
BINARIES += src/TWO_OPFM1.bin
BINARIES += src/TWO_OPFM2.bin
BINARIES += src/VIDEOGAME.bin
BINARIES += src/VIOLIN.bin
BINARIES += src/VOICE_1.bin
BINARIES += src/VOICE_2.bin
BINARIES += src/VOICE_3.bin
BINARIES += src/VOICE_4.bin
BINARIES += src/VOICE_5.bin
BINARIES += src/VOICE_6.bin
BINARIES += src/VOX_MACH.bin
BINARIES += src/XFADE.bin
# Convenience target for including files in the distributable release
#.PHONY: dist
#dist: all
DISTRIBUTABLES += $(wildcard LICENSE* *.pdf README*) res
include $(RACK_DIR)/plugin.mk