Browse Source

Build app bundle in dist instead of root

tags/v0.3.2
Andrew Belt 7 years ago
parent
commit
1d6faa0bdc
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 \
-Ldep/lib -lGLEW -lglfw -ljansson -lsamplerate -lcurl -lzip -lportaudio -lportmidi
TARGET = Rack
BUNDLE = $(TARGET).app
endif

ifeq ($(ARCH), win)
@@ -93,6 +92,7 @@ ifeq ($(ARCH), lin)
cp dep/lib/libportmidi.so dist/Rack/
endif
ifeq ($(ARCH), mac)
$(eval BUNDLE := dist/Rack/$(TARGET).app)
mkdir -p $(BUNDLE)
mkdir -p $(BUNDLE)/Contents
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

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

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


Loading…
Cancel
Save