c@409: KFVER=130 c@409: c@409: doc: c@409: @echo "Start by reading the README file. If you want to build and test lots of stuff, do a 'make testall'" c@409: @echo "but be aware that 'make testall' has dependencies that the basic kissfft software does not." c@409: @echo "It is generally unneeded to run these tests yourself, unless you plan on changing the inner workings" c@409: @echo "of kissfft and would like to make use of its regression tests." c@409: c@409: testall: c@409: # The simd and int32_t types may or may not work on your machine c@409: make -C test DATATYPE=simd CFLAGADD="$(CFLAGADD)" test c@409: make -C test DATATYPE=int32_t CFLAGADD="$(CFLAGADD)" test c@409: make -C test DATATYPE=int16_t CFLAGADD="$(CFLAGADD)" test c@409: make -C test DATATYPE=float CFLAGADD="$(CFLAGADD)" test c@409: make -C test DATATYPE=double CFLAGADD="$(CFLAGADD)" test c@409: echo "all tests passed" c@409: c@409: tarball: clean c@409: hg archive -r v$(KFVER) -t tgz kiss_fft$(KFVER).tar.gz c@409: hg archive -r v$(KFVER) -t zip kiss_fft$(KFVER).zip c@409: c@409: clean: c@409: cd test && make clean c@409: cd tools && make clean c@409: rm -f kiss_fft*.tar.gz *~ *.pyc kiss_fft*.zip c@409: c@409: asm: kiss_fft.s c@409: c@409: kiss_fft.s: kiss_fft.c kiss_fft.h _kiss_fft_guts.h c@409: [ -e kiss_fft.s ] && mv kiss_fft.s kiss_fft.s~ || true c@409: gcc -S kiss_fft.c -O3 -mtune=native -ffast-math -fomit-frame-pointer -unroll-loops -dA -fverbose-asm c@409: gcc -o kiss_fft_short.s -S kiss_fft.c -O3 -mtune=native -ffast-math -fomit-frame-pointer -dA -fverbose-asm -DFIXED_POINT c@409: [ -e kiss_fft.s~ ] && diff kiss_fft.s~ kiss_fft.s || true