| 1 | # for variables passed from parent makefile see ../../SOURCE_TOOLS/parent_make.txt |
|---|
| 2 | |
|---|
| 3 | .SUFFIXES: .o .c .cxx .depend |
|---|
| 4 | |
|---|
| 5 | SOURCES=$(wildcard *.cxx) |
|---|
| 6 | OBJECTS=$(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 | |
|---|
| 14 | clean: |
|---|
| 15 | rm -f $(OBJECTS) *.a |
|---|
| 16 | |
|---|
| 17 | DEPENDS = $(OBJECTS:.o=.depend) |
|---|
| 18 | depends: $(DEPENDS) |
|---|
| 19 | @cat $(DEPENDS) | grep -v '^#' >>Makefile |
|---|
| 20 | @rm $(DEPENDS) |
|---|
| 21 | $(DEPENDS): depend.init |
|---|
| 22 | depend.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 | |
|---|
| 34 | RootedTree.o: RootedTree.h |
|---|
| 35 | RootedTree.o: $(ARBHOME)/INCLUDE/ad_prot.h |
|---|
| 36 | RootedTree.o: $(ARBHOME)/INCLUDE/ad_t_prot.h |
|---|
| 37 | RootedTree.o: $(ARBHOME)/INCLUDE/arb_assert.h |
|---|
| 38 | RootedTree.o: $(ARBHOME)/INCLUDE/arb_core.h |
|---|
| 39 | RootedTree.o: $(ARBHOME)/INCLUDE/arb_error.h |
|---|
| 40 | RootedTree.o: $(ARBHOME)/INCLUDE/arb_msg.h |
|---|
| 41 | RootedTree.o: $(ARBHOME)/INCLUDE/arb_string.h |
|---|
| 42 | RootedTree.o: $(ARBHOME)/INCLUDE/arbdb.h |
|---|
| 43 | RootedTree.o: $(ARBHOME)/INCLUDE/arbdb_base.h |
|---|
| 44 | RootedTree.o: $(ARBHOME)/INCLUDE/arbdbt.h |
|---|
| 45 | RootedTree.o: $(ARBHOME)/INCLUDE/arbtools.h |
|---|
| 46 | RootedTree.o: $(ARBHOME)/INCLUDE/attributes.h |
|---|
| 47 | RootedTree.o: $(ARBHOME)/INCLUDE/cxxforward.h |
|---|
| 48 | RootedTree.o: $(ARBHOME)/INCLUDE/downcast.h |
|---|
| 49 | RootedTree.o: $(ARBHOME)/INCLUDE/dupstr.h |
|---|
| 50 | RootedTree.o: $(ARBHOME)/INCLUDE/gccver.h |
|---|
| 51 | RootedTree.o: $(ARBHOME)/INCLUDE/smartptr.h |
|---|
| 52 | RootedTree.o: $(ARBHOME)/INCLUDE/static_assert.h |
|---|
| 53 | RootedTree.o: $(ARBHOME)/INCLUDE/test_global.h |
|---|