Browse Source

Build libRack target to root dir instead of build/ dir.

tags/v2.2.0
Andrew Belt 2 years ago
parent
commit
639c2c6374
2 changed files with 8 additions and 4 deletions
  1. +4
    -0
      .gitignore
  2. +4
    -4
      Makefile

+ 4
- 0
.gitignore View File

@@ -1,4 +1,8 @@
.DS_Store .DS_Store
*.so
*.dylib
*.dll
*.a


/Rack /Rack
/dep /dep


+ 4
- 4
Makefile View File

@@ -23,7 +23,7 @@ LDFLAGS += -shared


ifdef ARCH_LIN ifdef ARCH_LIN
SED := sed -i SED := sed -i
TARGET := build/libRack.so
TARGET := libRack.so


SOURCES += dep/osdialog/osdialog_zenity.c SOURCES += dep/osdialog/osdialog_zenity.c


@@ -40,7 +40,7 @@ endif


ifdef ARCH_MAC ifdef ARCH_MAC
SED := sed -i '' SED := sed -i ''
TARGET := build/libRack.dylib
TARGET := libRack.dylib


SOURCES += dep/osdialog/osdialog_mac.m SOURCES += dep/osdialog/osdialog_mac.m
LDFLAGS += -lpthread -ldl LDFLAGS += -lpthread -ldl
@@ -51,7 +51,7 @@ endif


ifdef ARCH_WIN ifdef ARCH_WIN
SED := sed -i SED := sed -i
TARGET := build/libRack.dll
TARGET := libRack.dll


SOURCES += dep/osdialog/osdialog_win.c SOURCES += dep/osdialog/osdialog_win.c
LDFLAGS += -municode LDFLAGS += -municode
@@ -245,7 +245,7 @@ ifdef ARCH_MAC
$(STRIP) -S dist/"$(DIST_SDK_DIR)"/libRack.dylib $(STRIP) -S dist/"$(DIST_SDK_DIR)"/libRack.dylib
endif endif
ifdef ARCH_WIN ifdef ARCH_WIN
cp build/libRack.dll.a dist/"$(DIST_SDK_DIR)"/
cp libRack.dll.a dist/"$(DIST_SDK_DIR)"/
endif endif
cd dist && zip -q -9 -r "$(DIST_SDK)" "$(DIST_SDK_DIR)" cd dist && zip -q -9 -r "$(DIST_SDK)" "$(DIST_SDK_DIR)"




Loading…
Cancel
Save