Skip to content

Commit 820bb5a

Browse files
committedFeb 7, 2021
fft.c no longer generated. reworked to use include statements instead.
1 parent ffe16b5 commit 820bb5a

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed
 

‎.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ examples/plot.dat
1313
examples/*.bin
1414
config.mk
1515
test/*.bin
16-
lib/fft/fft.c
1716

1817
# Generated files
1918
util/wav2smp

‎lib/fft/Makefile

-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
LPATHS += lib/fft/fft.o
22
UTIL += lib/fft/fft.c
33

4-
lib/fft/fft.c: lib/fft/fftlib.c lib/fft/sp_fft.c
5-
echo "/* THIS IS A GENERATED FILE. DO NOT EDIT BY HAND */" > $@
6-
cat $^ >> $@
7-
84
lib/fft/fft.o: lib/fft/fft.c
95
$(C89) $< -c $(CFLAGS) -o $@

‎lib/fft/fft.c

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#include "fftlib.c"
2+
#include "sp_fft.c"

0 commit comments

Comments
 (0)
Please sign in to comment.