Makefile
author Stiletto <blasux@blasux.ru>
Sat, 12 Feb 2011 15:16:11 +0300
changeset 4 64b70fc4f30e
parent 3 38269b62d856
child 6 f0c87fb62b66
permissions -rw-r--r--
header fixes


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 cos-dbupdate.cxx -o cos-dbupdate ${CFLAGS} ${LDFLAGS}

cos-search: cos-search.cxx
	@echo C++ $<
	@${CXX} -O0 -g cos-search.cxx -o cos-search ${CFLAGS} ${LDFLAGS}