And move test scripts into t/ subdir to keep things clean. As part of that, make sure redo adds itself to the PATH on startup so that subscripts can find it.
6 lines
74 B
Text
6 lines
74 B
Text
cat <<-EOF
|
|
OUT="\$1"
|
|
shift
|
|
gcc -Wall -o "\$OUT" "\$@"
|
|
EOF
|
|
chmod a+x $3
|