From 8a6f082dce2426363b764aed895d4eca4063ee10 Mon Sep 17 00:00:00 2001 From: nishi Date: Fri, 19 Apr 2024 11:05:09 +0000 Subject: [PATCH] mkdir -p out git-svn-id: file:///raid/svn-main/kazu-ksynth/trunk@28 7b47e76f-e598-2f43-bc14-414d160cc389 --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index c8b3d85..bacfa06 100644 --- a/Makefile +++ b/Makefile @@ -23,18 +23,22 @@ OBJS := ./src/ksynth.o ./src/sample.o ./src/voice.o ifdef WINDOWS ifdef WIN32 ./out/ksynth_x86.dll: $(OBJS) + mkdir -p ./out $(CC) $(CFLAGS) -shared -o $@ $^ endif ifdef WIN64 ./out/ksynth_x64.dll: $(OBJS) + mkdir -p ./out $(CC) $(CFLAGS) -shared -o $@ $^ endif else ifdef STATIC ./out/libksynth.a: $(OBJS) + mkdir -p ./out ar rcs $@ $^ else ./out/libksynth.so: $(OBJS) + mkdir -p ./out $(CC) $(CFLAGS) -shared -o $@ $^ endif endif -- 2.43.0