diff --git a/.gitignore b/.gitignore index 6e15b49..d791cdb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -noisetorch +bin/ librnnoise.go \ No newline at end of file diff --git a/Makefile b/Makefile index c32b9ae..dc1d3ee 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,14 @@ dev: rnnoise + mkdir bin/ go generate - go build + go build -o bin/noisetorch release: rnnoise go generate CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-s -w -extldflags "-static"' . upx noisetorch tar cvzf NoiseTorch_x64.tgz noisetorch rm noisetorch + mv NoiseTorch_x64.tgz bin/ rnnoise: cd librnnoise_ladspa/; \ cmake . -DBUILD_VST_PLUGIN=OFF -DBUILD_LV2_PLUGIN=OFF -DBUILD_LADSPA_PLUGIN=ON; \