Browse Source

Merge 86a94156f0 into 7d7aae7a23

pull/13/merge
Vladimir Pantelic GitHub 7 years ago
parent
commit
7cb34a45fd
2 changed files with 32 additions and 2 deletions
  1. +3
    -2
      Makefile
  2. +29
    -0
      README.md

+ 3
- 2
Makefile View File

@@ -14,7 +14,7 @@ ifeq ($(ARCH), lin)
LDFLAGS += -rdynamic \ LDFLAGS += -rdynamic \
-lpthread -lGL -ldl \ -lpthread -lGL -ldl \
$(shell pkg-config --libs gtk+-2.0) \ $(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 TARGET = Rack
endif endif


@@ -44,7 +44,7 @@ all: $(TARGET)


run: $(TARGET) run: $(TARGET)
ifeq ($(ARCH), lin) ifeq ($(ARCH), lin)
LD_LIBRARY_PATH=dep/lib ./$<
LD_LIBRARY_PATH=dep/lib:dep/lib64 ./$<
endif endif
ifeq ($(ARCH), mac) ifeq ($(ARCH), mac)
DYLD_FALLBACK_LIBRARY_PATH=dep/lib ./$< DYLD_FALLBACK_LIBRARY_PATH=dep/lib ./$<
@@ -150,6 +150,7 @@ else
cd dist && zip -5 -r Rack-$(VERSION)-$(ARCH).zip Rack cd dist && zip -5 -r Rack-$(VERSION)-$(ARCH).zip Rack
endif endif


CMD ?= make


eachplugin: eachplugin:
$(foreach f,$(wildcard plugins/*),(cd $f && ${CMD});) $(foreach f,$(wildcard plugins/*),(cd $f && ${CMD});)

+ 29
- 0
README.md View File

@@ -25,6 +25,35 @@ Build Rack.


make 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 <plugin project>
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 ## License


Rack source code by [Andrew Belt](https://andrewbelt.name/) licensed under the [BSD-3-Clause](LICENSE.txt) Rack source code by [Andrew Belt](https://andrewbelt.name/) licensed under the [BSD-3-Clause](LICENSE.txt)


Loading…
Cancel
Save