use fast string formatting routines
[cwebfiles.git] / compile
1 #!/bin/bash
2 for cgi in login checkstatus listdir; do
3   echo -e "\ncompiling $cgi.c..."
4   diet gcc -O3 -std=gnu99 -Wall -Werror -g -o $cgi $cgi.c cgistuff.c hex.c -lcrypt -lowfat
5   sudo chown root:root $cgi
6   sudo chmod u+s $cgi
7 done