Browse Source

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

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

+ 4
- 1
Makefile View File

@@ -155,7 +155,10 @@ 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/
cd dist && zip -5 -r Rack-SDK-$(VERSION).zip Rack-SDK
ifdef ARCH_WIN
cp libRack.a dist/Rack-SDK/
endif
cd dist && zip -5 -r Rack-SDK-$(VERSION)-$(ARCH).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
LDFLAGS += -shared -L$(RACK_DIR) -lRack
TARGET := plugin.dll TARGET := plugin.dll
RACK_USER_DIR ?= $(USERPROFILE)/Documents/Rack RACK_USER_DIR ?= $(USERPROFILE)/Documents/Rack
endif endif


Loading…
Cancel
Save