diff options
author | Arturs Artamonovs <arturs.artamonovs@protonmail.com> | 2021-07-15 09:40:35 +0100 |
---|---|---|
committer | Arturs Artamonovs <arturs.artamonovs@protonmail.com> | 2021-07-15 09:40:35 +0100 |
commit | e2d7791085b71212ac0dc859bdab132e05f76ae7 (patch) | |
tree | e324e354e2fc2b6f6b75352fd5752303b1edb8f5 /Build | |
parent | 845dda7e5d0b8a19473166408ed138f0cb9d04ca (diff) | |
download | WasmAudio-e2d7791085b71212ac0dc859bdab132e05f76ae7.tar.gz WasmAudio-e2d7791085b71212ac0dc859bdab132e05f76ae7.zip |
Added fir filter code and functions for buffer conversion
Diffstat (limited to 'Build')
-rw-r--r-- | Build/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Build/Makefile b/Build/Makefile index 40d6a2e..6fe2da3 100644 --- a/Build/Makefile +++ b/Build/Makefile @@ -5,13 +5,12 @@ LDFLAGS=-lSDL2 -lSDL2_ttf EM_LDFALGS=-s USE_SDL=2 -s MAX_WEBGL_VERSION=2 -s MIN_WEBGL_VERSION=2 -s LLD_REPORT_UNDEFINED -s USE_GLFW=3 make: + $(CC) -c $(SOURCEDIR)/../FIR/firmath.c -g3 $(CC) -c $(SOURCEDIR)/main.c -g3 emcc: - $(EMCC) $(SOURCEDIR)/main.c -s WASM=1 -O3 -o index.js $(EM_LDFALGS) -s EXTRA_EXPORTED_RUNTIME_METHODS='["ccall", "cwrap"]' + $(EMCC) $(SOURCEDIR)/main.c ../FIR/firmath.c -s WASM=1 -O3 -o index.js $(EM_LDFALGS) -s EXTRA_EXPORTED_RUNTIME_METHODS='["ccall", "cwrap"]' - - web: darkhttpd ./ --port 12345 |