source: branches/port5/SL/TREE_READ/Makefile

Last change on this file was 6023, checked in by westram, 16 years ago
  • moved tree I/O functions to separate libraries (TREE_READ.a and TREE_WRITE.a)
  • link only with ARB_NTREE and arb_read_tree (before they were linked everywhere)
File size: 1.6 KB
Line 
1# INCLUDE und GLOBALS MAIN CC cflags werden von aussen uebergeben
2
3.SUFFIXES: .o .c .cxx .depend
4
5C_OBJECTS = 
6CPP_OBJECTS = TreeRead.o TreeTools.o
7OBJECTS=$(C_OBJECTS) $(CPP_OBJECTS)
8
9$(MAIN): $(OBJECTS)
10        $(LINK_STATIC_LIB) $(MAIN) $(OBJECTS)
11
12.cxx.o:
13        $(CPP) $(cflags) -c $< $(CPPINCLUDES)
14
15.c.o:
16        $(ACC) $(cflags) -c $< $(AINCLUDES)
17
18clean:
19        rm -f $(OBJECTS) *.a
20
21DEPENDS = $(OBJECTS:.o=.depend)
22depends: $(DEPENDS)
23        @cat $(DEPENDS) | grep -v '^#' >>Makefile
24        @rm $(DEPENDS)
25$(DEPENDS): depend.init
26depend.init:
27        $(MAKEDEPEND) $(MAKEDEPENDFLAGS) 2>/dev/null # remove dependencies
28.c.depend:
29        $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@
30.cxx.depend:
31        $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@
32
33# DO NOT DELETE
34
35# Do not add dependencies manually - use 'make depend' in $ARBHOME
36# For formatting issues see SOURCE_TOOLS/fix_depends.pl
37
38TreeRead.o: TreeRead.h
39TreeRead.o: $(ARBHOME)/INCLUDE/ad_k_prot.h
40TreeRead.o: $(ARBHOME)/INCLUDE/ad_prot.h
41TreeRead.o: $(ARBHOME)/INCLUDE/ad_t_prot.h
42TreeRead.o: $(ARBHOME)/INCLUDE/arb_assert.h
43TreeRead.o: $(ARBHOME)/INCLUDE/arbdb.h
44TreeRead.o: $(ARBHOME)/INCLUDE/arbdb_base.h
45TreeRead.o: $(ARBHOME)/INCLUDE/arbdbt.h
46TreeRead.o: $(ARBHOME)/INCLUDE/attributes.h
47
48TreeTools.o: TreeRead.h
49TreeTools.o: $(ARBHOME)/INCLUDE/ad_k_prot.h
50TreeTools.o: $(ARBHOME)/INCLUDE/ad_prot.h
51TreeTools.o: $(ARBHOME)/INCLUDE/ad_t_prot.h
52TreeTools.o: $(ARBHOME)/INCLUDE/arb_assert.h
53TreeTools.o: $(ARBHOME)/INCLUDE/arbdb.h
54TreeTools.o: $(ARBHOME)/INCLUDE/arbdb_base.h
55TreeTools.o: $(ARBHOME)/INCLUDE/arbdbt.h
56TreeTools.o: $(ARBHOME)/INCLUDE/attributes.h
Note: See TracBrowser for help on using the repository browser.