- added config.mk and Makefile for Jay's build system

This commit is contained in:
2023-04-21 14:29:31 +02:00
parent 978c752e8b
commit 3af11a3278
7 changed files with 111 additions and 0 deletions
+30
View File
@@ -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
+7
View File
@@ -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)