From 2dffd9eb9005d0014131202a8cbaa3a6e334f58b Mon Sep 17 00:00:00 2001 From: Chris Cannam Date: Fri, 26 Feb 2021 11:09:47 +0000 Subject: [PATCH] Create target dir --- otherbuilds/Makefile.ios | 4 +--- otherbuilds/Makefile.linux | 16 +++++++--------- otherbuilds/Makefile.macos | 10 ++++------ 3 files changed, 12 insertions(+), 18 deletions(-) diff --git a/otherbuilds/Makefile.ios b/otherbuilds/Makefile.ios index 7c12f82..f6b8abe 100644 --- a/otherbuilds/Makefile.ios +++ b/otherbuilds/Makefile.ios @@ -20,7 +20,7 @@ CFLAGS_SIM := $(ARCHFLAGS_SIM) $(OPTFLAGS) AR := ar LIPO := lipo -MKDIR := mkdir +MKDIR := mkdir -p LIBNAME := librubberband @@ -29,9 +29,7 @@ STATIC_TARGET_DEV := lib/$(LIBNAME).dev.a STATIC_TARGET_SIM := lib/$(LIBNAME).sim.a default: lib $(STATIC_TARGET) - all: lib $(STATIC_TARGET) - static: lib $(STATIC_TARGET) PUBLIC_INCLUDES := \ diff --git a/otherbuilds/Makefile.linux b/otherbuilds/Makefile.linux index f73b0f8..a8e5443 100644 --- a/otherbuilds/Makefile.linux +++ b/otherbuilds/Makefile.linux @@ -10,18 +10,16 @@ CXXFLAGS := $(ARCHFLAGS) $(OPTFLAGS) -I. -Isrc -Irubberband -DHAVE_LIBSAMPLERATE CFLAGS := $(ARCHFLAGS) $(OPTFLAGS) -AR := ar -MKDIR := mkdir +AR := ar +MKDIR := mkdir -p -LIBNAME := librubberband +LIBNAME := librubberband -STATIC_TARGET := lib/$(LIBNAME).a +STATIC_TARGET := lib/$(LIBNAME).a -default: $(STATIC_TARGET) - -all: $(STATIC_TARGET) - -static: $(STATIC_TARGET) +default: lib $(STATIC_TARGET) +all: lib $(STATIC_TARGET) +static: lib $(STATIC_TARGET) PUBLIC_INCLUDES := \ rubberband/rubberband-c.h \ diff --git a/otherbuilds/Makefile.macos b/otherbuilds/Makefile.macos index 96c612a..eae185f 100644 --- a/otherbuilds/Makefile.macos +++ b/otherbuilds/Makefile.macos @@ -10,17 +10,15 @@ CXXFLAGS := $(ARCHFLAGS) $(OPTFLAGS) -I. -Isrc -Irubberband -I/usr/local/include CFLAGS := $(ARCHFLAGS) $(OPTFLAGS) -AR := ar -MKDIR := mkdir +AR := ar +MKDIR := mkdir -p -LIBNAME := librubberband +LIBNAME := librubberband -STATIC_TARGET := lib/$(LIBNAME).a +STATIC_TARGET := lib/$(LIBNAME).a default: lib $(STATIC_TARGET) - all: lib $(STATIC_TARGET) - static: lib $(STATIC_TARGET) PUBLIC_INCLUDES := \