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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
     1
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
     2
include config.mk
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
     3
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
     4
all: cos-dbupdate cos-search scan
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
     5
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
     6
scan: ${OBJS}
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
     7
	@echo CC -o $@
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
     8
	@g++ ${OBJS} ${LDFLAGS} -o $@
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
     9
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    10
clean:
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    11
	rm -f ${OBJS} scan
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    12
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    13
walker.o: walker.cxx walker.h
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    14
	@g++ -c ${CFLAGS} walker.cxx
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    15
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    16
#magi.o: magi.cxx walker.h
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    17
#	@g++ -c ${CFLAGS} magi.cxx
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    18
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    19
scan.o: scan.cxx magi.h
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    20
	@g++ -c ${CFLAGS} scan.cxx
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    21
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    22
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    23
cos-dbupdate: cos-dbupdate.cxx
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    24
	g++ -O0 -g cos-dbupdate.cxx -o cos-dbupdate ${CFLAGS} ${LDFLAGS}
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    25
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    26
cos-search: cos-search.cxx
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    27
	g++ -O0 -g cos-search.cxx -o cos-search ${CFLAGS} ${LDFLAGS}