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.

21 lines
487B

  1. SLUG = Fundamental
  2. VERSION = 0.6.0
  3. SOURCES += $(wildcard src/*.cpp)
  4. DISTRIBUTABLES += $(wildcard LICENSE*) res
  5. FLAGS += -Idep/libsamplerate/src
  6. # LDFLAGS += -Ldep/libsamplerate/src/.libs -l:libsamplerate.a
  7. libsamplerate = dep/libsamplerate/src/.libs/libsamplerate.a
  8. $(libsamplerate):
  9. cd dep/libsamplerate && ./autogen.sh
  10. cd dep/libsamplerate && CFLAGS=-fPIC ./configure
  11. cd dep/libsamplerate && $(MAKE)
  12. OBJECTS += $(libsamplerate)
  13. RACK_DIR ?= ../..
  14. include $(RACK_DIR)/plugin.mk