From c9142a85b0edde50ed300a76552ff4dc0a4cb83b Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Sun, 25 Mar 2018 09:35:24 -0400 Subject: [PATCH] Update Makefile dep --- Makefile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 3b0c977..c529315 100644 --- a/Makefile +++ b/Makefile @@ -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