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.

30 lines
496B

  1. ARCH ?= lin
  2. FLAGS = -fPIC -g -Wall -O3 -msse -mfpmath=sse -ffast-math \
  3. -I../../include -I./pffft -DPFFFT_SIMD_DISABLE
  4. LDFLAGS =
  5. SOURCES = $(wildcard src/*.cpp) pffft/pffft.c
  6. ifeq ($(ARCH), lin)
  7. LDFLAGS += -shared
  8. TARGET = plugin.so
  9. endif
  10. ifeq ($(ARCH), mac)
  11. LDFLAGS += -shared -undefined dynamic_lookup
  12. TARGET = plugin.dylib
  13. endif
  14. ifeq ($(ARCH), win)
  15. LDFLAGS += -shared -L../../ -lRack
  16. TARGET = plugin.dll
  17. endif
  18. all: $(TARGET)
  19. clean:
  20. rm -rfv build $(TARGET)
  21. include ../../Makefile.inc