diff --git a/Makefile b/Makefile index b5e82c9..9675111 100644 --- a/Makefile +++ b/Makefile @@ -15,8 +15,8 @@ endif # Build all plugins in the PLUGINS list plugins: dgl @for plugin in $(PLUGINS); do \ - echo "Building $$plugin..."; \ - $(MAKE) all -C plugins/$$plugin || exit 1; \ + echo "Building $$plugin..."; \ + $(MAKE) all -C plugins/$$plugin || exit 1; \ done # -------------------------------------------------------------- @@ -24,11 +24,11 @@ plugins: dgl clean: $(MAKE) clean -C dpf/dgl @for plugin in $(PLUGINS); do \ - echo "Cleaning $$plugin..."; \ - $(MAKE) clean -C plugins/$$plugin || true; \ + echo "Cleaning $$plugin..."; \ + $(MAKE) clean -C plugins/$$plugin || true; \ done - rm -rf bin build + rm -rf bin build core/*.o core/*.obj # -------------------------------------------------------------- -.PHONY: dgl plugins clean \ No newline at end of file +.PHONY: dgl plugins clean diff --git a/README.md b/README.md index 71d78e0..5ec5c65 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,16 @@ If already cloned without submodules `make plugins` +To cross compile with windows. (Not actually tested but builds) + +`make plugins CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ WINDOWS=true` + +Do bear in front to generate types +``` +make clean +bear -- make plugins +``` + ### Verify `ls bin/` \ No newline at end of file diff --git a/core/Clipper.cpp b/core/Clipper.cpp index 9451a29..09fb3fa 100644 --- a/core/Clipper.cpp +++ b/core/Clipper.cpp @@ -10,7 +10,6 @@ void Clipper::process(const float *in, float *out, uint32_t frames) { void Clipper::processStereo(const float *inLeft, const float *inRight, float *outLeft, float *outRight, uint32_t frames) { for (uint32_t i = 0; i < frames; ++i) { - outLeft[i] = clip(inLeft[i]); outRight[i] = clip(inRight[i]); }