From: hackbard <hackbard>
Date: Fri, 24 Sep 2004 11:11:12 +0000 (+0000)
Subject: do links to fourier api
X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed5480feb00b541aecdbc344c27a3d923cc3b1ab;p=sound-tools%2Fhdrec.git

do links to fourier api
---

diff --git a/Makefile b/Makefile
index 1d9af21..2729ee7 100644
--- 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