aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-09-27 07:04:59 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-09-27 07:04:59 +0000
commit1680a7601607292c1b0381ef3d4507c50ced02d0 (patch)
tree5362362e13b17125bbe152520f467708ff6580e1
parentc411506e69636a4ca0e1cf45f9533f5d9644f164 (diff)
reverted the shit to how it used to be.
don't ever touch it again svn path=/trunk/externals/corelibs/; revision=6034
-rw-r--r--Makefile2
-rw-r--r--README2
-rwxr-xr-xgenerate.sh15
-rw-r--r--lib_d_fft.c2
4 files changed, 3 insertions, 18 deletions
diff --git a/Makefile b/Makefile
index 726483e..a13265f 100644
--- a/Makefile
+++ b/Makefile
@@ -13,5 +13,3 @@ clean:
test_locations:
make -C $(EXTERNALS_ROOT) test_locations
-configure: generate.sh
- ./generate.sh
diff --git a/README b/README
index 551166c..4b92fa0 100644
--- a/README
+++ b/README
@@ -7,5 +7,3 @@ These files are generated using the included script, generate.sh. They should
not be modified directly.
-IOhannes: these files should not be in here in the first place since they are generated
-
diff --git a/generate.sh b/generate.sh
index b5b3019..4b69e71 100755
--- a/generate.sh
+++ b/generate.sh
@@ -1,20 +1,9 @@
#!/bin/sh
-# delete all .c-files in order to not duplicate entries in there
-## LATER: ask hcs why he is using "touch" and ">>" instead of
-## an initial ">"
-rm -f lib_?_*.c
-
# put these at the top of the file
touch lib_d_fft.c
echo '#include "../../pd/src/d_fftroutine.c"' >> lib_d_fft.c
-if [ -e "../../pd/src/d_fft_mayer.c" ]
-then
- echo '#include "../../pd/src/d_fft_mayer.c"' >> lib_d_fft.c
-else
- echo '#include "../../pd/src/d_mayer_fft.c"' >> lib_d_fft.c
-fi
-
+echo '#include "../../pd/src/d_mayer_fft.c"' >> lib_d_fft.c
for file in ../../pd/src/[dx]_*.c; do
newfile=`echo $file | sed 's|.*/src/\([dx]_\)|lib_\1|'`
@@ -29,6 +18,6 @@ for file in ../../pd/src/[dx]_*.c; do
done
# these files hold code for other classes, but no classes
-rm -f lib_d_fftroutine.c lib_d_fft_mayer.c lib_d_mayer_fft.c lib_d_resample.c
+rm lib_d_fftroutine.c lib_d_mayer_fft.c lib_d_resample.c
diff --git a/lib_d_fft.c b/lib_d_fft.c
index 6cc6085..88b25f4 100644
--- a/lib_d_fft.c
+++ b/lib_d_fft.c
@@ -1,5 +1,5 @@
#include "../../pd/src/d_fftroutine.c"
-#include "../../pd/src/d_fft_mayer.c"
+#include "../../pd/src/d_mayer_fft.c"
#include "../../pd/src/d_fft.c"
void lib_d_fft_setup(void)
{