Makefile
author Stiletto <blasux@blasux.ru>
Thu, 22 Sep 2011 13:27:23 +0400
changeset 9 ae87469781f2
parent 6 f0c87fb62b66
permissions -rw-r--r--
CUE extractor


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}