- added config.mk and Makefile for Jay's build system
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
include ./config.mk
|
||||
include $(MAKE_HOME)/defaults.mk
|
||||
|
||||
NAME := JuceLibraryCode
|
||||
|
||||
JUCE_MODULES := ${JUCE_PATH}/modules
|
||||
|
||||
SOURCES := juce_audio_basics/juce_audio_basics.cpp
|
||||
SOURCES += juce_audio_devices/juce_audio_devices.cpp
|
||||
SOURCES += juce_audio_formats/juce_audio_formats.cpp
|
||||
SOURCES += juce_audio_processors/juce_audio_processors.cpp
|
||||
SOURCES += juce_core/juce_core.cpp
|
||||
SOURCES += juce_data_structures/juce_data_structures.cpp
|
||||
SOURCES += juce_events/juce_events.cpp
|
||||
SOURCES += juce_graphics/juce_graphics.cpp
|
||||
SOURCES += juce_gui_basics/juce_gui_basics.cpp
|
||||
SOURCES += juce_gui_extra/juce_gui_extra.cpp
|
||||
SOURCES += juce_audio_plugin_client/utility/juce_PluginUtilities.cpp
|
||||
SOURCES += juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp
|
||||
SOURCES += juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp
|
||||
|
||||
CXX_SRCS := $(addprefix $(JUCE_MODULES)/, $(SOURCES))
|
||||
INCLUDES += -I . -I $(JUCE_PATH) -I $(JUCE_PATH)/modules -I $(VST2_SDK_PATH) -I /usr/include/freetype2
|
||||
DEFINES += -DJUCE_GCC=1 -DLINUX=1 -DJUCE_APP_VERSION=1.0.0 -DJUCE_APP_VERSION_HEX=0x10000
|
||||
DEFINES += -DHAVE_LROUND
|
||||
DEFINES_debug += -DDEBUG=1 -D_DEBUG=1
|
||||
DEFINES_release += -DNDEBUG
|
||||
CXXFLAGS += -std=c++11
|
||||
|
||||
include $(MAKE_HOME)/compile.mk
|
||||
@@ -0,0 +1,7 @@
|
||||
MAKE_HOME ?= /home/jens/work/software/make
|
||||
CONFIG ?= debug
|
||||
BUILD_DIR ?= ./build/${CONFIG}
|
||||
|
||||
JUCE_PATH ?= $(realpath ../juce/JUCE-3.1.1)
|
||||
VST2_SDK_PATH ?= $(realpath ../sdk/vst/vstsdk2.4)
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
include ./config.mk
|
||||
include $(MAKE_HOME)/defaults.mk
|
||||
|
||||
NAME := JaySynthModules
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
# 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
|
||||
|
||||
include $(MAKE_HOME)/compile.mk
|
||||
@@ -0,0 +1,7 @@
|
||||
MAKE_HOME ?= /home/jens/work/software/make
|
||||
CONFIG ?= debug
|
||||
BUILD_DIR ?= ./build/${CONFIG}
|
||||
|
||||
JUCE_PATH ?= $(realpath ../juce/JUCE-3.1.1)
|
||||
LIBSRC_PATH ?= $(realpath ../../../libsrc)
|
||||
VST2_SDK_PATH ?= $(realpath ../sdk/vst/vstsdk2.4)
|
||||
@@ -0,0 +1,24 @@
|
||||
include ./config.mk
|
||||
include $(MAKE_HOME)/defaults.mk
|
||||
|
||||
NAME := Synth
|
||||
|
||||
GCC_SRCS := blit.c
|
||||
GCC_SRCS += env.c
|
||||
GCC_SRCS += lfo.c
|
||||
GCC_SRCS += mw_wave_data.c
|
||||
GCC_SRCS += noise.c
|
||||
GCC_SRCS += param_scale.c
|
||||
GCC_SRCS += sine.c
|
||||
GCC_SRCS += smooth.c
|
||||
GCC_SRCS += synth_debug.c
|
||||
GCC_SRCS += vcf.c
|
||||
GCC_SRCS += vco.c
|
||||
GCC_SRCS += vector_utils.c
|
||||
GCC_SRCS += voice.c
|
||||
GCC_SRCS += wavetable.c
|
||||
|
||||
INCLUDES ?= -I $(LIBSRC_PATH) -I $(VST2_SDK_PATH)
|
||||
DEFINES += -Dradio_float_t=float -Dfir_float_t=float -Dsynth_float_t=float
|
||||
|
||||
include $(MAKE_HOME)/compile.mk
|
||||
@@ -0,0 +1,6 @@
|
||||
MAKE_HOME ?= /home/jens/work/software/make
|
||||
CONFIG ?= debug
|
||||
BUILD_DIR ?= ./build/${CONFIG}
|
||||
|
||||
LIBSRC_PATH ?= $(realpath ../../../../libsrc)
|
||||
VST2_SDK_PATH ?= $(realpath ../../sdk/vst/vstsdk2.4)
|
||||
@@ -0,0 +1,10 @@
|
||||
MAKE_HOME ?= $(realpath ../../tools/make)
|
||||
CONFIG ?= release
|
||||
TARGET ?= JaySynth.so
|
||||
BUILD_DIR ?= $(shell pwd)/build/${CONFIG}
|
||||
|
||||
LIBSRC_PATH ?= $(realpath ../../libsrc)
|
||||
JUCE_PATH ?= $(realpath ./juce/JUCE-3.1.1)
|
||||
VST2_SDK_PATH ?= $(realpath sdk/vst/vstsdk2.4)
|
||||
|
||||
export
|
||||
Reference in New Issue
Block a user