Browse Source

Remove need for libRack.a. Now SDK can be built cross-platform, woohoo!

tags/v0.6.2
Andrew Belt 6 years ago
parent
commit
7b7f249234
2 changed files with 2 additions and 5 deletions
  1. +1
    -4
      Makefile
  2. +1
    -1
      plugin.mk

+ 1
- 4
Makefile View File

@@ -155,10 +155,7 @@ endif
cp -R include dist/Rack-SDK/ cp -R include dist/Rack-SDK/
mkdir -p dist/Rack-SDK/dep/ mkdir -p dist/Rack-SDK/dep/
cp -R dep/include dist/Rack-SDK/dep/ cp -R dep/include dist/Rack-SDK/dep/
ifdef ARCH_WIN
cp libRack.a dist/Rack-SDK/
endif
cd dist && zip -5 -r Rack-SDK-$(VERSION)-$(ARCH).zip Rack-SDK
cd dist && zip -5 -r Rack-SDK-$(VERSION).zip Rack-SDK




# Obviously this will only work if you have the private keys to my server # Obviously this will only work if you have the private keys to my server


+ 1
- 1
plugin.mk View File

@@ -28,7 +28,7 @@ ifdef ARCH_MAC
endif endif


ifdef ARCH_WIN ifdef ARCH_WIN
LDFLAGS += -shared -L$(RACK_DIR) -lRack
LDFLAGS += -shared
TARGET := plugin.dll TARGET := plugin.dll
RACK_USER_DIR ?= $(USERPROFILE)/Documents/Rack RACK_USER_DIR ?= $(USERPROFILE)/Documents/Rack
endif endif


Loading…
Cancel
Save