include config.mk
all: cos-dbupdate cos-search scan extractors
scan: ${OBJS}
@echo C++ -o $@
@${CXX} ${OBJS} ${LDFLAGS} -o $@
clean:
rm -f ${OBJS} cos-dbupdate cos-search scan
walker.o: walker.cxx walker.h
@echo C++ $<
@${CXX} -c ${CFLAGS} walker.cxx
scan.o: walker.h scan.cxx
@echo C++ $<
@${CXX} -c ${CFLAGS} scan.cxx
cos-dbupdate: cos-dbupdate.cxx
@echo C++ $<
@${CXX} -O0 -g $< -o $@ ${CFLAGS} ${LDFLAGS}
cos-search: cos-search.cxx
@echo C++ $<
@${CXX} -O0 -g cos-search.cxx -o cos-search ${CFLAGS} ${LDFLAGS}
cos-list: cos-list.cxx
@echo C++ $<
@${CXX} -O0 -g $< -o $@ ${CFLAGS} ${LDFLAGS}