Browse Source

Merge branch 'master' of github.com:VCVRack/Rack

tags/v0.3.2
Andrew Belt 7 years ago
parent
commit
8befdffdea
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      Makefile

+ 1
- 3
Makefile View File

@@ -25,7 +25,6 @@ ifeq ($(ARCH), mac)
-framework Cocoa -framework OpenGL -framework IOKit -framework CoreVideo \ -framework Cocoa -framework OpenGL -framework IOKit -framework CoreVideo \
-Ldep/lib -lGLEW -lglfw -ljansson -lsamplerate -lcurl -lzip -lportaudio -lportmidi -Ldep/lib -lGLEW -lglfw -ljansson -lsamplerate -lcurl -lzip -lportaudio -lportmidi
TARGET = Rack TARGET = Rack
BUNDLE = $(TARGET).app
endif endif


ifeq ($(ARCH), win) ifeq ($(ARCH), win)
@@ -93,6 +92,7 @@ ifeq ($(ARCH), lin)
cp dep/lib/libportmidi.so dist/Rack/ cp dep/lib/libportmidi.so dist/Rack/
endif endif
ifeq ($(ARCH), mac) ifeq ($(ARCH), mac)
$(eval BUNDLE := dist/Rack/$(TARGET).app)
mkdir -p $(BUNDLE) mkdir -p $(BUNDLE)
mkdir -p $(BUNDLE)/Contents mkdir -p $(BUNDLE)/Contents
mkdir -p $(BUNDLE)/Contents/Resources mkdir -p $(BUNDLE)/Contents/Resources
@@ -123,8 +123,6 @@ ifeq ($(ARCH), mac)
install_name_tool -change @rpath/libportmidi.dylib @executable_path/libportmidi.dylib $(BUNDLE)/Contents/MacOS/Rack install_name_tool -change @rpath/libportmidi.dylib @executable_path/libportmidi.dylib $(BUNDLE)/Contents/MacOS/Rack


otool -L $(BUNDLE)/Contents/MacOS/Rack otool -L $(BUNDLE)/Contents/MacOS/Rack

cp -R Rack.app dist/Rack/
endif endif
ifeq ($(ARCH), win) ifeq ($(ARCH), win)
cp Rack.exe dist/Rack/ cp Rack.exe dist/Rack/


Loading…
Cancel
Save