]> git.sesse.net Git - kdenlive/blob - src/kiss_fft/Makefile
SVN_SILENT made messages (.desktop file)
[kdenlive] / src / kiss_fft / Makefile
1 KFVER=129
2
3 doc:
4         @echo "Start by reading the README file.  If you want to build and test lots of stuff, do a 'make testall'"
5         @echo "but be aware that 'make testall' has dependencies that the basic kissfft software does not"
6
7 testall:
8         # The simd and int32_t types may or may not work on your machine 
9         make -C test DATATYPE=simd CFLAGADD="$(CFLAGADD)" test
10         make -C test DATATYPE=int32_t CFLAGADD="$(CFLAGADD)" test
11         make -C test DATATYPE=int16_t CFLAGADD="$(CFLAGADD)" test
12         make -C test DATATYPE=float CFLAGADD="$(CFLAGADD)" test
13         make -C test DATATYPE=double CFLAGADD="$(CFLAGADD)" test
14
15 tarball: clean
16         hg archive -r v$(KFVER) -t tgz kiss_fft$(KFVER).tar.gz 
17         hg archive -r v$(KFVER) -t zip kiss_fft$(KFVER).zip
18
19 clean:
20         cd test && make clean
21         cd tools && make clean
22         rm -f kiss_fft*.tar.gz *~ *.pyc kiss_fft*.zip 
23
24 asm: kiss_fft.s
25
26 kiss_fft.s: kiss_fft.c kiss_fft.h _kiss_fft_guts.h
27         [ -e kiss_fft.s ] && mv kiss_fft.s kiss_fft.s~ || true
28         gcc -S kiss_fft.c -O3 -mtune=native -ffast-math -fomit-frame-pointer -unroll-loops -dA -fverbose-asm 
29         gcc -o kiss_fft_short.s -S kiss_fft.c -O3 -mtune=native -ffast-math -fomit-frame-pointer -dA -fverbose-asm -DFIXED_POINT
30         [ -e kiss_fft.s~ ] && diff kiss_fft.s~ kiss_fft.s || true