Makefile
changeset 0 56281d90869c
child 1 5ef6ffc1bc7f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile	Sat Feb 12 13:45:55 2011 +0300
@@ -0,0 +1,27 @@
+
+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}
\ No newline at end of file