|
|
@@ -1,24 +1,24 @@ |
|
|
|
# All paths here assume the PWD is plugin/something |
|
|
|
|
|
|
|
FLAGS += -fPIC \ |
|
|
|
-I../../include |
|
|
|
-I../../include -I../../dep/include |
|
|
|
|
|
|
|
|
|
|
|
include ../../arch.mk |
|
|
|
|
|
|
|
ifeq ($(ARCH), lin) |
|
|
|
LDFLAGS += -shared |
|
|
|
TARGET = plugin.so |
|
|
|
LDFLAGS += -shared |
|
|
|
TARGET = plugin.so |
|
|
|
endif |
|
|
|
|
|
|
|
ifeq ($(ARCH), mac) |
|
|
|
LDFLAGS += -shared -undefined dynamic_lookup |
|
|
|
TARGET = plugin.dylib |
|
|
|
LDFLAGS += -shared -undefined dynamic_lookup |
|
|
|
TARGET = plugin.dylib |
|
|
|
endif |
|
|
|
|
|
|
|
ifeq ($(ARCH), win) |
|
|
|
LDFLAGS += -shared -L../../ -lRack |
|
|
|
TARGET = plugin.dll |
|
|
|
LDFLAGS += -shared -L../../ -lRack |
|
|
|
TARGET = plugin.dll |
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|