]> Nishi Git Mirror - ksynth.git/commitdiff
mkdir -p out
authornishi <nishi@7b47e76f-e598-2f43-bc14-414d160cc389>
Fri, 19 Apr 2024 11:05:09 +0000 (11:05 +0000)
committernishi <nishi@7b47e76f-e598-2f43-bc14-414d160cc389>
Fri, 19 Apr 2024 11:05:09 +0000 (11:05 +0000)
git-svn-id: file:///raid/svn-main/kazu-ksynth/trunk@28 7b47e76f-e598-2f43-bc14-414d160cc389

Makefile

index c8b3d85ee7e605a36cd66432380fb829eef22642..bacfa06c039421849fe3b053ed2c6c4c7d1b4e1c 100644 (file)
--- 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