#!/bin/ksh set -v CDEBUG="-g -ansi -pedantic -Wall -Wpointer-arith -Winline -Wmissing-prototypes \ -Wstrict-prototypes" # Solaris gcc -I. -g -ansi $CDEBUG -o serv serv.c -lsocket -lnsl -lm