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.

33 lines
425B

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