Browse Source

Update Makefile dep

tags/v0.6.0
Andrew Belt 7 years ago
parent
commit
c9142a85b0
1 changed files with 5 additions and 7 deletions
  1. +5
    -7
      Makefile

+ 5
- 7
Makefile View File

@@ -6,18 +6,13 @@ FLAGS += -Idep/include
SOURCES += $(wildcard src/*.cpp)
DISTRIBUTABLES += $(wildcard LICENSE*) res

libsamplerate = dep/lib/libsamplerate.a
# Static libs
libsamplerate := dep/lib/libsamplerate.a
OBJECTS += $(libsamplerate)

include $(RACK_DIR)/plugin.mk

# Dependencies

DEP_FLAGS += -fPIC
DEP_LOCAL := dep

DEPS += $(libsamplerate)
include $(RACK_DIR)/dep.mk

$(libsamplerate):
mkdir -p dep
@@ -26,3 +21,6 @@ $(libsamplerate):
cd dep/libsamplerate-0.1.9 && $(CONFIGURE)
cd dep/libsamplerate-0.1.9 && $(MAKE)
cd dep/libsamplerate-0.1.9 && $(MAKE) install


include $(RACK_DIR)/plugin.mk

Loading…
Cancel
Save