Mercurial > hg > js-dsp-test
diff fft/cross/Makefile @ 8:c6577c4b3780
KissFFT example -- but am having trouble with calling conventions when both Emscripten examples are present
author | Chris Cannam |
---|---|
date | Mon, 05 Oct 2015 13:58:09 +0100 |
parents | b4ab69bdb4c8 |
children | 281c44ba1d2e |
line wrap: on
line diff
--- a/fft/cross/Makefile Mon Oct 05 12:54:49 2015 +0100 +++ b/fft/cross/Makefile Mon Oct 05 13:58:09 2015 +0100 @@ -1,4 +1,6 @@ Cross.js: Cross.c Cross.h - emcc -O3 -s EXPORTED_FUNCTIONS="['_fftCross']" -o Cross.js Cross.c + emcc -O3 -s MODULARIZE=1 -s EXPORT_NAME="'CrossModule'" -s EXPORTED_FUNCTIONS="['_fftCross']" -o Cross.js Cross.c +clean: + rm -f Cross.js