Makefile
author Stiletto <blasux@blasux.ru>
Sat, 12 Feb 2011 13:45:55 +0300
changeset 0 56281d90869c
child 1 5ef6ffc1bc7f
permissions -rw-r--r--
Initial commit


include config.mk

all: cos-dbupdate cos-search scan

scan: ${OBJS}
	@echo CC -o $@
	@g++ ${OBJS} ${LDFLAGS} -o $@

clean:
	rm -f ${OBJS} scan

walker.o: walker.cxx walker.h
	@g++ -c ${CFLAGS} walker.cxx

#magi.o: magi.cxx walker.h
#	@g++ -c ${CFLAGS} magi.cxx

scan.o: scan.cxx magi.h
	@g++ -c ${CFLAGS} scan.cxx


cos-dbupdate: cos-dbupdate.cxx
	g++ -O0 -g cos-dbupdate.cxx -o cos-dbupdate ${CFLAGS} ${LDFLAGS}

cos-search: cos-search.cxx
	g++ -O0 -g cos-search.cxx -o cos-search ${CFLAGS} ${LDFLAGS}