#       Makefile for "writeres" module
#
INCLDIR=        /folio/arcade/include
CFLAGS=         -I${INCLDIR} -O
LFLAGS=         -larcade
 
 
writeres: writeres.o encodings.o /usr/local/lib/libarcade.a
	cc -o writeres writeres.o encodings.o ${LFLAGS}
	cp writeres /folio/arcade/bin

writeres.o: writeres.c /usr/include/time.h /usr/include/fcntl.h ${INCLDIR}/internal.h ${INCLDIR}/iptokens.h
	cc -c ${CFLAGS} writeres.c

encodings.o: encodings.c ${INCLDIR}/iptokens.h
	cc -c ${CFLAGS} encodings.c