#define NO_UNISTD for SunOS, but not for Linux.

CC = gcc -DUNIX -DNO_UNISTD -O -o

all:	newdir newindex noexport.cgi


newdir:	newdir.C diamond2.C diamond2.h crc.C crc.h def.h makefile
	$(CC) newdir newdir.C diamond2.C crc.C


newindex:	newindex.C diamond2.C diamond2.h crc.C crc.h def.h makefile
	$(CC) newindex newindex.C diamond2.C crc.C


noexport.cgi:	noexport.C cgic.C cgic.h
	$(CC) noexport.cgi noexport.C cgic.C
#	cp noexport.cgi /usr/lib/cgi-bin

