aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-11-28 21:40:03 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-11-28 21:40:03 +0000
commitabf1bac09bd11d538cb2bcf2a348d9199cae77cf (patch)
tree65be753fffcb386ff801f60d9fb062d15e170192 /src
parentf49691278949ac0b5ee0bac198855cf90c5aaf12 (diff)
don't create Make.source
svn path=/trunk/externals/zexy/; revision=4072
Diffstat (limited to 'src')
-rwxr-xr-xsrc/makesource.sh14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/makesource.sh b/src/makesource.sh
index 49165ef..24fc90f 100755
--- a/src/makesource.sh
+++ b/src/makesource.sh
@@ -2,7 +2,6 @@
ZEXY_H=z_zexy.h
ZEXY_C=z_zexy.c
-ZEXY_S=Make.source
GREP=grep
@@ -44,22 +43,11 @@ function foot_c() {
echo
}
-function head_s() {
- echo "SOURCES = \\"
-}
-
-function foot_s() {
- echo " zexy.c"
- echo
-}
-
-
##################################
## body
head_h > $ZEXY_H
head_c > $ZEXY_C
-head_s > $ZEXY_S
for i in `ls *.c | grep -v zexy.c`
do
@@ -68,12 +56,10 @@ do
## any non-alpha-numeric-character is replaced by "_"
## e.g. "multiplex~.c" -> "z_multiplex__setup()"
SETUPNAME=z_`echo ${i%.c} | sed -e 's/[^[:alnum:]]/_/g'`_setup
- echo " $i \\" >> $ZEXY_S
echo "void ${SETUPNAME}(void); /* $i */" >> $ZEXY_H
echo " ${SETUPNAME}(); /* $i */" >> $ZEXY_C
done
foot_h >> $ZEXY_H
foot_c >> $ZEXY_C
-foot_s >> $ZEXY_S