aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorlawl <github@dumbinter.net>2020-07-06 16:33:33 +0200
committerlawl <github@dumbinter.net>2020-07-06 16:33:33 +0200
commit097bf649c1fabe3faf8876bc63b2c7c77c318169 (patch)
tree58d0e840615efda260cd26f2797af8a98a194c42 /Makefile
parenta3ab544446282c7034a5dd852b7cb4b7f0c3d20c (diff)
downloadnoisetorch-097bf649c1fabe3faf8876bc63b2c7c77c318169.tar.gz
noisetorch-097bf649c1fabe3faf8876bc63b2c7c77c318169.zip
Makefile: Create bin directory if it doesn't exist
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index dc1d3ee..ebb8351 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,9 @@
dev: rnnoise
- mkdir bin/
+ mkdir -p bin/
go generate
go build -o bin/noisetorch
release: rnnoise
+ mkdir -p bin/
go generate
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-s -w -extldflags "-static"' .
upx noisetorch
@@ -13,3 +14,4 @@ rnnoise:
cd librnnoise_ladspa/; \
cmake . -DBUILD_VST_PLUGIN=OFF -DBUILD_LV2_PLUGIN=OFF -DBUILD_LADSPA_PLUGIN=ON; \
make
+