ALL=routing collapse_route all: ${ALL} # pmake .NULL: .out .o.out: ${CXX} ${CXXFLAGS} ${LDFLAGS} -o $@ $> ${LDLIBS} # gmake CXXFLAGS?=-O2 .o: ${CXX} ${CXXFLAGS} ${LDFLAGS} -o $@ $^ ${LDLIBS} routing.o: routing.cc routing.h graph.h route_table.h collapse_route.o: collapse_route.cc route_table.h net.h routing: routing.o collapse_route: collapse_route.o clean: rm -f ${ALL} *.o