diff --git a/Makefile b/Makefile index ae8d898b..a3e90e1c 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ ifeq ($(ARCH), lin) LDFLAGS += -rdynamic \ -lpthread -lGL -ldl \ $(shell pkg-config --libs gtk+-2.0) \ - -Ldep/lib -lGLEW -lglfw -ljansson -lsamplerate -lcurl -lzip -lportaudio -lportmidi + -Ldep/lib -Ldep/lib64 -lGLEW -lglfw -ljansson -lsamplerate -lcurl -lzip -lportaudio -lportmidi TARGET = Rack endif @@ -44,7 +44,7 @@ all: $(TARGET) run: $(TARGET) ifeq ($(ARCH), lin) - LD_LIBRARY_PATH=dep/lib ./$< + LD_LIBRARY_PATH=dep/lib:dep/lib64 ./$< endif ifeq ($(ARCH), mac) DYLD_FALLBACK_LIBRARY_PATH=dep/lib ./$< @@ -150,6 +150,7 @@ else cd dist && zip -5 -r Rack-$(VERSION)-$(ARCH).zip Rack endif +CMD ?= make eachplugin: $(foreach f,$(wildcard plugins/*),(cd $f && ${CMD});) diff --git a/README.md b/README.md index a2390194..07db35be 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,35 @@ Build Rack. make +## Building the plugins + +change into the plugins directory and git clone all the plugin projects, e.g. + + cp plugins + git clone https://github.com/VCVRack/Fundamental + +for each plugin project: + + cd + git submodule update --init + make + cd .. + +for the *AudibleInstruments* project you also need to init submodules inside the eurorack directory: + + cd AudibleInstruments + git submodule update --init + cd eurorack + git submodule update --init + cd .. + make + cd .. + +go back to the main directory and start Rack: + + cd .. + make run + ## License Rack source code by [Andrew Belt](https://andrewbelt.name/) licensed under the [BSD-3-Clause](LICENSE.txt)