0
|
1 |
|
|
2 |
include config.mk |
|
3 |
|
|
4 |
all: cos-dbupdate cos-search scan |
|
5 |
|
|
6 |
scan: ${OBJS} |
|
7 |
@echo CC -o $@ |
|
8 |
@g++ ${OBJS} ${LDFLAGS} -o $@ |
|
9 |
|
|
10 |
clean: |
|
11 |
rm -f ${OBJS} scan |
|
12 |
|
|
13 |
walker.o: walker.cxx walker.h |
|
14 |
@g++ -c ${CFLAGS} walker.cxx |
|
15 |
|
|
16 |
#magi.o: magi.cxx walker.h |
|
17 |
# @g++ -c ${CFLAGS} magi.cxx |
|
18 |
|
|
19 |
scan.o: scan.cxx magi.h |
|
20 |
@g++ -c ${CFLAGS} scan.cxx |
|
21 |
|
|
22 |
|
|
23 |
cos-dbupdate: cos-dbupdate.cxx |
|
24 |
g++ -O0 -g cos-dbupdate.cxx -o cos-dbupdate ${CFLAGS} ${LDFLAGS} |
|
25 |
|
|
26 |
cos-search: cos-search.cxx |
|
27 |
g++ -O0 -g cos-search.cxx -o cos-search ${CFLAGS} ${LDFLAGS} |