crashtest-r0ket/modules/mkwrapper

17 lines
186 B
Plaintext
Raw Normal View History

#!/bin/sh
for a in $* ; do
base=${a%.o}
echo "void module_$base(void);"
done
echo
echo "void wrapper(void){"
for a in $* ; do
base=${a%.o}
echo "module_$base();"
done
echo "}"