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.

25 lines
605B

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