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
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
3
38269b62d856 colon fix, scanscript
Stiletto <blasux@blasux.ru>
parents: 1
diff changeset
     4
all: cos-dbupdate cos-search scan extractors
0
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
     5
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
     6
scan: ${OBJS}
3
38269b62d856 colon fix, scanscript
Stiletto <blasux@blasux.ru>
parents: 1
diff changeset
     7
	@echo C++ -o $@
38269b62d856 colon fix, scanscript
Stiletto <blasux@blasux.ru>
parents: 1
diff changeset
     8
	@${CXX} ${OBJS} ${LDFLAGS} -o $@
0
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
     9
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    10
clean:
3
38269b62d856 colon fix, scanscript
Stiletto <blasux@blasux.ru>
parents: 1
diff changeset
    11
	rm -f ${OBJS} cos-dbupdate cos-search scan
0
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
3
38269b62d856 colon fix, scanscript
Stiletto <blasux@blasux.ru>
parents: 1
diff changeset
    14
	@echo C++ $<
38269b62d856 colon fix, scanscript
Stiletto <blasux@blasux.ru>
parents: 1
diff changeset
    15
	@${CXX} -c ${CFLAGS} walker.cxx
0
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    16
1
5ef6ffc1bc7f ll cleanup
Stiletto <blasux@blasux.ru>
parents: 0
diff changeset
    17
scan.o: walker.h scan.cxx
3
38269b62d856 colon fix, scanscript
Stiletto <blasux@blasux.ru>
parents: 1
diff changeset
    18
	@echo C++ $<
38269b62d856 colon fix, scanscript
Stiletto <blasux@blasux.ru>
parents: 1
diff changeset
    19
	@${CXX} -c ${CFLAGS} scan.cxx
0
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    20
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    21
cos-dbupdate: cos-dbupdate.cxx
3
38269b62d856 colon fix, scanscript
Stiletto <blasux@blasux.ru>
parents: 1
diff changeset
    22
	@echo C++ $<
6
f0c87fb62b66 example updater, two metadata extractors
Stiletto <blasux@blasux.ru>
parents: 3
diff changeset
    23
	@${CXX} -O0 -g $< -o $@ ${CFLAGS} ${LDFLAGS}
0
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    24
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    25
cos-search: cos-search.cxx
3
38269b62d856 colon fix, scanscript
Stiletto <blasux@blasux.ru>
parents: 1
diff changeset
    26
	@echo C++ $<
6
f0c87fb62b66 example updater, two metadata extractors
Stiletto <blasux@blasux.ru>
parents: 3
diff changeset
    27
	@${CXX} -O0 -g cos-search.cxx -o cos-search ${CFLAGS} ${LDFLAGS}
f0c87fb62b66 example updater, two metadata extractors
Stiletto <blasux@blasux.ru>
parents: 3
diff changeset
    28
	
f0c87fb62b66 example updater, two metadata extractors
Stiletto <blasux@blasux.ru>
parents: 3
diff changeset
    29
cos-list: cos-list.cxx
f0c87fb62b66 example updater, two metadata extractors
Stiletto <blasux@blasux.ru>
parents: 3
diff changeset
    30
	@echo C++ $<
f0c87fb62b66 example updater, two metadata extractors
Stiletto <blasux@blasux.ru>
parents: 3
diff changeset
    31
	@${CXX} -O0 -g $< -o $@ ${CFLAGS} ${LDFLAGS}
f0c87fb62b66 example updater, two metadata extractors
Stiletto <blasux@blasux.ru>
parents: 3
diff changeset
    32