cc -static -g -W -Wall -o build/vars vars.c doas install -o www -g www -m 0500 build/vars /var/www/cgi-bin/ cc -static -g -W -Wall -o build/vars_kcgi vars_kcgi.c -I/usr/local/include -L/usr/local/lib -lkcgi -lkcgihtml -lz doas install -o www -g www -m 0500 build/vars_kcgi /var/www/cgi-bin/ doas mkdir /var/www/tmp doas chmod 1777 /var/www/tmp cc -static -g -W -Wall -o build/example4 examples/example4.c -I/usr/local/include -L/usr/local/lib -lkcgi -lkcgihtml -lz -lsqlite3 doas install -o www -g www -m 0500 build/example4 /var/www/cgi-bin/