there is a new event api ...
[sound-tools/hdrec.git] / Makefile
1 # Makefile of hdrec
2
3 CFLAGS = -O3 -Wall -I/usr/include/directfb
4 CC = gcc
5
6 TARGETS = hdrec make_raw
7
8 all: $(TARGETS)
9
10 hdrec: links
11         $(CC) $(CFLAGS) -Wall fourier.c oss_api.c hdrec.c -o hdrec -lm -ldirectfb
12
13 make_raw:
14         $(CC) -O3 -Wall make_raw.c -o make_raw -lm
15
16 links:
17         ln -sf ../../api/fourier/fourier.c .
18         ln -sf ../../api/fourier/fourier.h .
19
20 clean:
21         rm -f $(TARGETS)
22
23 remake: clean all