diff --git a/JuceLibraryCode/Makefile b/JuceLibraryCode/Makefile new file mode 100644 index 0000000..cba8ffe --- /dev/null +++ b/JuceLibraryCode/Makefile @@ -0,0 +1,29 @@ +include ./config.mk + +JUCE_PATH ?= $(realpath ../../../extlib/JUCE) +JUCE_MODULES := ${JUCE_PATH}/modules + +NAME := Juce + +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_audio_utils/juce_audio_utils.cpp +SOURCES += juce_core/juce_core.cpp +SOURCES += juce_cryptography/juce_cryptography.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_opengl/juce_opengl.cpp +SOURCES += juce_video/juce_video.cpp + +CXX_SRCS += $(addprefix $(JUCE_MODULES)/, $(SOURCES)) +INCLUDES += -I . -I $(JUCE_PATH) -I $(JUCE_PATH)/modules -I /usr/include/freetype2 + +DEFINES_debug := -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "JUCE_APP_VERSION=1.0.0" -D "JUCE_APP_VERSION_HEX=0x10000" -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "radio_float_t=float" -D "fir_float_t=float" +DEFINES_release := -D "LINUX=1" -D "NDEBUG" -D "radio_float_t=float" -D "fir_float_t=float" -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "JUCE_APP_VERSION=1.0.0" -D "JUCE_APP_VERSION_HEX=0x10000" + +include $(MAKE_HOME)/compile.mk diff --git a/JuceLibraryCode/config.mk b/JuceLibraryCode/config.mk new file mode 100644 index 0000000..fb09cc7 --- /dev/null +++ b/JuceLibraryCode/config.mk @@ -0,0 +1,4 @@ +MAKE_HOME := /home/jens/work/software/make +CONFIG ?= debug +BUILD_DIR ?= ./build/${CONFIG} +MAKEFLAGS += --no-print-directory