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.

27 lines
612B

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