source: tags/arb-6.0.3/SL/ROOTED_TREE/Makefile

Last change on this file was 11318, checked in by westram, 10 years ago
  • moved several methods of ARB_seqtree into base classes
    • files removed in [11317] have been revived using svn cp
File size: 1.7 KB
Line 
1# for variables passed from parent makefile see ../../SOURCE_TOOLS/parent_make.txt
2
3.SUFFIXES: .o .c .cxx .depend
4
5SOURCES=$(wildcard *.cxx)
6OBJECTS=$(subst .cxx,.o,$(SOURCES))
7
8$(MAIN): $(OBJECTS)
9        $(LINK_STATIC_LIB) $(MAIN) $(OBJECTS)
10
11.cxx.o:
12        $(A_CXX) $(cflags) $(cxxflags) -c $< $(CXX_INCLUDES) $(POST_COMPILE)
13
14clean:
15        rm -f $(OBJECTS) *.a
16
17DEPENDS = $(OBJECTS:.o=.depend)
18depends: $(DEPENDS)
19        @cat $(DEPENDS) | grep -v '^#' >>Makefile
20        @rm $(DEPENDS)
21$(DEPENDS): depend.init
22depend.init:
23        $(MAKEDEPEND) $(MAKEDEPENDFLAGS) 2>/dev/null # remove dependencies
24.c.depend:
25        $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@
26.cxx.depend:
27        $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@
28
29# DO NOT DELETE
30
31# Do not add dependencies manually - use 'make depend' in $ARBHOME
32# For formatting issues see SOURCE_TOOLS/fix_depends.pl (from SL)
33
34RootedTree.o: RootedTree.h
35RootedTree.o: $(ARBHOME)/INCLUDE/ad_prot.h
36RootedTree.o: $(ARBHOME)/INCLUDE/ad_t_prot.h
37RootedTree.o: $(ARBHOME)/INCLUDE/arb_assert.h
38RootedTree.o: $(ARBHOME)/INCLUDE/arb_core.h
39RootedTree.o: $(ARBHOME)/INCLUDE/arb_error.h
40RootedTree.o: $(ARBHOME)/INCLUDE/arb_msg.h
41RootedTree.o: $(ARBHOME)/INCLUDE/arb_string.h
42RootedTree.o: $(ARBHOME)/INCLUDE/arbdb.h
43RootedTree.o: $(ARBHOME)/INCLUDE/arbdb_base.h
44RootedTree.o: $(ARBHOME)/INCLUDE/arbdbt.h
45RootedTree.o: $(ARBHOME)/INCLUDE/arbtools.h
46RootedTree.o: $(ARBHOME)/INCLUDE/attributes.h
47RootedTree.o: $(ARBHOME)/INCLUDE/cxxforward.h
48RootedTree.o: $(ARBHOME)/INCLUDE/downcast.h
49RootedTree.o: $(ARBHOME)/INCLUDE/dupstr.h
50RootedTree.o: $(ARBHOME)/INCLUDE/gccver.h
51RootedTree.o: $(ARBHOME)/INCLUDE/smartptr.h
52RootedTree.o: $(ARBHOME)/INCLUDE/static_assert.h
53RootedTree.o: $(ARBHOME)/INCLUDE/test_global.h
Note: See TracBrowser for help on using the repository browser.