added make_raw tool, to create raw sound files
[sound-tools/hdrec.git] / Makefile
index 6bd5fd0..1d9af21 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 # Makefile of hdrec
 
-CFLAGS = -O3 -Wall
+CFLAGS = -O3 -Wall -I/usr/include/directfb
 CC = gcc
 
 TARGETS = hdrec
@@ -8,7 +8,10 @@ TARGETS = hdrec
 all: $(TARGETS)
 
 hdrec:
-       $(CC) $(CFLAGS) -Wall oss_api.c hdrec.c -o hdrec
+       $(CC) $(CFLAGS) -Wall fourier.c oss_api.c hdrec.c -o hdrec -lm -ldirectfb
+
+make_raw:
+       $(CC) -O3 -Wall make_raw.c -o make_raw -lm
 
 clean:
        rm $(OBJS) hdrec