- Refactored MAke system. Put sources into config.mk
- export variables of main Makefile
This commit is contained in:
+5
-16
@@ -1,25 +1,14 @@
|
||||
include ./config.mk
|
||||
include $(MAKE_HOME)/defaults.mk
|
||||
|
||||
NAME := JaySynthModules
|
||||
LIBSRC_PATH ?= $(realpath ../../../libsrc)
|
||||
JUCE_PATH ?= $(realpath ../sdk/juce/JUCE-3.1.1)
|
||||
VST2_SDK_PATH ?= $(realpath ../sdk/vst/vstsdk2.4)
|
||||
|
||||
CXX_SRCS := ButtonLED.cpp
|
||||
CXX_SRCS += graph_window.cpp
|
||||
CXX_SRCS += JaySynth.cpp
|
||||
CXX_SRCS += JaySynthAudioProcessorEditor.cpp
|
||||
CXX_SRCS += JaySynthMidiCC.cpp
|
||||
CXX_SRCS += JaySynthMonophonicMGR.cpp
|
||||
CXX_SRCS += JaySynthSound.cpp
|
||||
CXX_SRCS += JaySynthVoice.cpp
|
||||
CXX_SRCS += MidiCC_PopUp.cpp
|
||||
CXX_SRCS += PluginProcessor.cpp
|
||||
CXX_SRCS += VelKey_PopUp.cpp
|
||||
CXX_SRCS += JaySynth.cpp
|
||||
CXX_SRCS += JK_MidiClock.cpp
|
||||
include config.mk
|
||||
|
||||
INCLUDES += -I $(LIBSRC_PATH) -I $(JUCE_PATH) -I $(VST2_SDK_PATH)
|
||||
DEFINES += -Dradio_float_t=float -Dfir_float_t=float -Dsynth_float_t=float
|
||||
CXXFLAGS += -std=c++20
|
||||
CXXFLAGS += -std=c++11
|
||||
# Reduce Blaze warnings
|
||||
CXXFLAGS += -Wno-volatile -Wno-deprecated-declarations
|
||||
DEFINES += -DJUCE_GCC=1 -DLINUX=1 -DJUCE_APP_VERSION=1.0.0 -DJUCE_APP_VERSION_HEX=0x10000
|
||||
|
||||
Reference in New Issue
Block a user