# Last edited on 2003-05-11 19:43:35 by stolfi INC = /home/staff/stolfi/PUB/include LIB = /home/staff/stolfi/PUB/${PLATFORM}/lib PROG = testdgplot LIBS = \ ${LIB}/libdygrid.a \ ${LIB}/libps.a \ ${LIB}/libjs.a .PHONY: all clean run .SUFFIXES: all: clean run clean: -/bin/rm -f *.o *.ho *.a ${PROG} core PSOUT := test.ps run: ${PROG} time ${PROG} kghostview ${PSOUT} CFLAGS = \ -I${INC} \ -ggdb \ -Wall -Wpointer-arith -Wmissing-prototypes \ LDFLAGS = \ -ggdb ${PROG}: ${PROG}.o ${LIBS} -rm -f ${PROG} gcc -o ${PROG} ${LDFLAGS} ${PROG}.o ${LIBS} -lm ${PROG}.o: ${PROG}.c ${LIBS} -rm -f ${PROG} gcc ${CFLAGS} -c ${PROG}.c # Dependencies of .c and .s files: testdgplot.o: testdgplot.c ${INC}/js.ho ${INC}/ps.ho \ ${INC}/dgbasic.ho ${INC}/dgtree.ho ${INC}/dgbezier.ho \ ${INC}/dgplot.ho ${INC}/dgmakegrid.ho