You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5 years ago
12345678910111213141516171819202122
  1. RACK_DIR ?= ../..
  2. FLAGS += -Idep/include
  3. SOURCES += $(wildcard src/*.cpp)
  4. DISTRIBUTABLES += $(wildcard LICENSE*) res
  5. # Static libs
  6. libsamplerate := dep/lib/libsamplerate.a
  7. OBJECTS += $(libsamplerate)
  8. # Dependencies
  9. DEPS += $(libsamplerate)
  10. $(libsamplerate):
  11. $(WGET) http://www.mega-nerd.com/SRC/libsamplerate-0.1.9.tar.gz
  12. cd dep && $(UNTAR) ../libsamplerate-0.1.9.tar.gz
  13. cd dep/libsamplerate-0.1.9 && $(CONFIGURE)
  14. cd dep/libsamplerate-0.1.9/src && $(MAKE)
  15. cd dep/libsamplerate-0.1.9/src && $(MAKE) install
  16. include $(RACK_DIR)/plugin.mk