#CC = /opt/SUNWspro/bin/cc CC = cc INCLUDE = -I${OPENWINHOME}/include #CFLAGS = ${INCLUDE} -g -DDEBUG CFLAGS = ${INCLUDE} -O LIBS = -L${OPENWINHOME}/lib -R${OPENWINHOME}/lib:/usr/lib \ -ltt \ -lXol \ -lXt \ -lX11 \ -lnsl TARGETS = client client-nogui reader populate animate all: ${TARGETS} client: client.c client.h client.o sunraster.o ${CC} ${CFLAGS} -o client client.o sunraster.o ${LIBS} client-nogui: client-nogui.c client.h client-nogui.o ${CC} ${CFLAGS} -o client-nogui client-nogui.o ${LIBS} animate: animate.c animate.o ${CC} ${CFLAGS} -o animate animate.o sunraster.o ${LIBS} sunraster.o: sunraster.c sunraster.h archdep.h ${CC} ${CFLAGS} -c sunraster.c populate: populate.c data.h populate.o ${CC} -O -o populate populate.o reader: reader.o reader.c ${CC} -O -o reader reader.o clean: rm -f core sunraster.o animate.o client.o client-nogui.o populate.o reader.o ${TARGETS}