: syntax: mk [arg1].c [arg2] : use arg2 as configuration name echoall if $2x = x cc -O -c $1.c if $2x != x cc -I../include/$2 -O -c $1.c ar rv plib $1.o rm -f $1.o if ! { ask shall I link } exit ld -o ../go$2 -X /lib/crt0.o plib -lc -la