#You may wish to add -DNO_UNISTD and -DNO_SYSTEM to CFLAGS if
#your system lacks the /usr/include/unistd.h header file
#or the system() function, respectively. Non-unix systems
#will also definitely have different linker syntax.

CFLAGS=
CC=gcc
LIBS=-lcgic

all: cgictest capture

cgictest: cgictest.o
	gcc cgictest.o -o cgictest ${LIBS}

capture: capture.o
	gcc capture.o -o capture ${LIBS}

clean:
	rm -f *.o cgictest capture

