Browse Source

Update plugin Makefile

tags/v0.3.0
Andrew Belt 7 years ago
parent
commit
7997fbfedc
1 changed files with 7 additions and 7 deletions
  1. +7
    -7
      plugin.mk

+ 7
- 7
plugin.mk View File

@@ -1,24 +1,24 @@
# All paths here assume the PWD is plugin/something # All paths here assume the PWD is plugin/something


FLAGS += -fPIC \ FLAGS += -fPIC \
-I../../include
-I../../include -I../../dep/include




include ../../arch.mk include ../../arch.mk


ifeq ($(ARCH), lin) ifeq ($(ARCH), lin)
LDFLAGS += -shared
TARGET = plugin.so
LDFLAGS += -shared
TARGET = plugin.so
endif endif


ifeq ($(ARCH), mac) ifeq ($(ARCH), mac)
LDFLAGS += -shared -undefined dynamic_lookup
TARGET = plugin.dylib
LDFLAGS += -shared -undefined dynamic_lookup
TARGET = plugin.dylib
endif endif


ifeq ($(ARCH), win) ifeq ($(ARCH), win)
LDFLAGS += -shared -L../../ -lRack
TARGET = plugin.dll
LDFLAGS += -shared -L../../ -lRack
TARGET = plugin.dll
endif endif






Loading…
Cancel
Save