blob: 5d75aaad9655c2630d9bdc770f4a202a9c6832b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh
echo -n "SRCS=" > ./Makefile.inc
FIRST=1
for oldfile in *.c
do
if [ "$FIRST" = 1 ] ; then
echo -n " "$oldfile >> ./Makefile.inc
else
echo "\\" >> ./Makefile.inc
echo -n " " $oldfile >> ./Makefile.inc
fi
FIRST=0
done
echo "" >> ./Makefile.inc
cat <<EOT
All done! Now run "make" (or possibly "gmake") to compile your modules.
See the INSTALL, README and FAQ files if you have any problems.
EOT
exit 0
|