# Last edited on 2001-10-08 01:18:45 by stolfi PROG = dummy INC = /home/staff/stolfi/PUB/include LIB = /home/staff/stolfi/PUB/${PLATFORM}/lib LIBS = \ ${LIB}/libjs.a \ ${LIB}/ps.a .PHONY: all clean run all: clean run clean: -/bin/rm -f *.o *.ho ${PROG} run: ${PROG} ${PROG} GCCFLAGS = \ -I${INC} \ -g \ -ansi \ -Wall -Wpointer-arith -Wmissing-prototypes \ ${PROG}: ${PROG}.c ${LIBS} ;\ rm -f ${PROG} && \ gcc ${GCCFLAGS} -o ${PROG} ${PROG}.c -L${LIB} ${LIBS} -lm # Dependencies of .h files: # Dependencies of .c and .s files: dummy.o:: dummy.c ${INC}/js.ho ${INC}/ioprotos.ho \ ${INC}/ps.ho