- Refactored MAke system. Put sources into config.mk
- export variables of main Makefile
This commit is contained in:
@@ -1,13 +1,19 @@
|
||||
include ./config.mk
|
||||
include $(MAKE_HOME)/defaults.mk
|
||||
|
||||
CONFIG ?= release
|
||||
TARGET ?= JaySynth.so
|
||||
|
||||
LIBSRC_PATH ?= $(realpath ../../libsrc)
|
||||
JUCE_PATH := $(realpath ./sdk/juce/JUCE-3.1.1)
|
||||
VST2_SDK_PATH ?= $(realpath ./sdk/vst/vstsdk2.4)
|
||||
|
||||
NAME =: JaySynth
|
||||
|
||||
DEFINES := -Dradio_float_t=float -Dfir_float_t=float -Dsynth_float_t=float
|
||||
DEFINES += -DHAVE_LROUND
|
||||
CFLAGS += -fPIC
|
||||
CXXFLAGS += -fPIC
|
||||
CXXFLAGS += -std=c++20
|
||||
CXXFLAGS += -std=c++11
|
||||
CXXFLAGS += -Wno-volatile
|
||||
CXXFLAGS += -Wno-deprecated-declarations
|
||||
CXXFLAGS += -Wno-deprecated-enum-float-conversion
|
||||
@@ -21,6 +27,8 @@ INCLUDES += -I $(JUCE_PATH) -I $(JUCE_PATH)/modules -I $(VST2_SDK_PATH) -I $(LIB
|
||||
|
||||
PACKAGES := JuceLibraryCode Source Synth Fir
|
||||
|
||||
export
|
||||
|
||||
all: app
|
||||
app: objects link
|
||||
|
||||
|
||||
Reference in New Issue
Block a user