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.

plugin.mk 459B

123456789101112131415161718192021222324252627282930
  1. # All paths here assume the PWD is plugin/something
  2. FLAGS += -fPIC \
  3. -I../../include -I../../dep/include
  4. include ../../arch.mk
  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. include ../../compile.mk
  19. clean:
  20. rm -rfv build $(TARGET) dist