From 639c2c6374d63da725d718ac0953622139c7d302 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Wed, 7 Sep 2022 18:48:17 -0400 Subject: [PATCH] Build libRack target to root dir instead of build/ dir. --- .gitignore | 4 ++++ Makefile | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 0d08f5e9..f519e208 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,8 @@ .DS_Store +*.so +*.dylib +*.dll +*.a /Rack /dep diff --git a/Makefile b/Makefile index 501d06ed..4428a1e4 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ LDFLAGS += -shared ifdef ARCH_LIN SED := sed -i - TARGET := build/libRack.so + TARGET := libRack.so SOURCES += dep/osdialog/osdialog_zenity.c @@ -40,7 +40,7 @@ endif ifdef ARCH_MAC SED := sed -i '' - TARGET := build/libRack.dylib + TARGET := libRack.dylib SOURCES += dep/osdialog/osdialog_mac.m LDFLAGS += -lpthread -ldl @@ -51,7 +51,7 @@ endif ifdef ARCH_WIN SED := sed -i - TARGET := build/libRack.dll + TARGET := libRack.dll SOURCES += dep/osdialog/osdialog_win.c LDFLAGS += -municode @@ -245,7 +245,7 @@ ifdef ARCH_MAC $(STRIP) -S dist/"$(DIST_SDK_DIR)"/libRack.dylib endif ifdef ARCH_WIN - cp build/libRack.dll.a dist/"$(DIST_SDK_DIR)"/ + cp libRack.dll.a dist/"$(DIST_SDK_DIR)"/ endif cd dist && zip -q -9 -r "$(DIST_SDK)" "$(DIST_SDK_DIR)"