]> hackdaworld.org Git - sound-tools/hdrec.git/commitdiff
do links to fourier api
authorhackbard <hackbard>
Fri, 24 Sep 2004 11:11:12 +0000 (11:11 +0000)
committerhackbard <hackbard>
Fri, 24 Sep 2004 11:11:12 +0000 (11:11 +0000)
Makefile

index 1d9af21c0b096fb5db026691fa5f6512d6e780f4..2729ee7e2a9bc973e3ae495210ac1529fb79d6ad 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -7,12 +7,16 @@ TARGETS = hdrec
 
 all: $(TARGETS)
 
-hdrec:
+hdrec: links
        $(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
 
+links:
+       ln -sf ../../api/fourier/fourier.c .
+       ln -sf ../../api/fourier/fourier.h .
+
 clean:
        rm $(OBJS) hdrec