From 1680a7601607292c1b0381ef3d4507c50ced02d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Wed, 27 Sep 2006 07:04:59 +0000 Subject: reverted the shit to how it used to be. don't ever touch it again svn path=/trunk/externals/corelibs/; revision=6034 --- generate.sh | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'generate.sh') 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 -- cgit v1.2.1