- put Juce sources in repos

git-svn-id: http://moon:8086/svn/software/trunk/projects/Rbm@641 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2019-11-08 07:13:54 +00:00
parent 28485a4f29
commit cf516a2b16
3 changed files with 18 additions and 8 deletions
Binary file not shown.
+12 -3
View File
@@ -1,6 +1,6 @@
CONFIG ?= release
BUILD_DIR := ./build/${CONFIG}
JUCE_ROOT=../../JUCE-3.1.1
JUCE_ROOT=./JUCE-3.1.1
SRCS := modules/juce_core/juce_core.cpp
SRCS += modules/juce_data_structures/juce_data_structures.cpp
SRCS += modules/juce_events/juce_events.cpp
@@ -10,7 +10,8 @@ SRCS += modules/juce_gui_extra/juce_gui_extra.cpp
SRCS += modules/juce_opengl/juce_opengl.cpp
OBJS := $(addprefix ${BUILD_DIR}/, $(subst .cpp,.o,$(SRCS)))
all: ${BUILD_DIR}/libjuce.a
all: ${JUCE_ROOT} ${BUILD_DIR}/libjuce.a
prepare: ${JUCE_ROOT}
CXXFLAGS += -std=c++11
CXXFLAGS_debug := ${CXXFLAGS} -O0 -g
@@ -25,5 +26,13 @@ ${OBJS}: $(BUILD_DIR)/%.o : ${JUCE_ROOT}/%.cpp
${BUILD_DIR}/libjuce.a: ${OBJS}
ar -q $@ ${OBJS}
${JUCE_ROOT}:
unzip JUCE-3.1.1.zip
clean:
rm -rf ${BUILD_DIR}/*
rm -rf ${BUILD_DIR}/*
distclean:
rm -rf ${BUILD_DIR}
rm -rf ${JUCE_ROOT}