1 | # for variables passed from parent makefile see ../../SOURCE_TOOLS/parent_make.txt |
---|
2 | |
---|
3 | .SUFFIXES: .o .c .cxx .depend |
---|
4 | |
---|
5 | C_OBJECTS = |
---|
6 | CPP_OBJECTS = \ |
---|
7 | NJ.o \ |
---|
8 | |
---|
9 | OBJECTS=$(C_OBJECTS) $(CPP_OBJECTS) |
---|
10 | |
---|
11 | $(MAIN): $(OBJECTS) |
---|
12 | $(LINK_STATIC_LIB) $(MAIN) $(OBJECTS) |
---|
13 | |
---|
14 | .cxx.o: |
---|
15 | $(A_CXX) $(cflags) $(cxxflags) -c $< $(CXX_INCLUDES) $(POST_COMPILE) $< |
---|
16 | |
---|
17 | .c.o: |
---|
18 | $(A_CC) $(cflags) -c $< $(CC_INCLUDES) $(POST_COMPILE) $< |
---|
19 | |
---|
20 | clean: |
---|
21 | rm -f $(OBJECTS) *.a |
---|
22 | |
---|
23 | DEPENDS = $(OBJECTS:.o=.depend) |
---|
24 | depends: $(DEPENDS) |
---|
25 | @cat $(DEPENDS) | grep -v '^#' >>Makefile |
---|
26 | @rm $(DEPENDS) |
---|
27 | $(DEPENDS): depend.init |
---|
28 | depend.init: |
---|
29 | $(MAKEDEPEND) $(MAKEDEPENDFLAGS) 2>/dev/null # remove dependencies |
---|
30 | .c.depend: |
---|
31 | $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@ |
---|
32 | .cxx.depend: |
---|
33 | $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@ |
---|
34 | |
---|
35 | # DO NOT DELETE |
---|
36 | |
---|
37 | # Do not add dependencies manually - use 'make depend' in $ARBHOME |
---|
38 | # For formatting issues see SOURCE_TOOLS/fix_depends.pl (from SL) |
---|
39 | |
---|
40 | NJ.o: neighbourjoin.hxx |
---|
41 | NJ.o: NJ.hxx |
---|
42 | NJ.o: $(ARBHOME)/INCLUDE/ad_prot.h |
---|
43 | NJ.o: $(ARBHOME)/INCLUDE/ad_t_prot.h |
---|
44 | NJ.o: $(ARBHOME)/INCLUDE/AP_matrix.hxx |
---|
45 | NJ.o: $(ARBHOME)/INCLUDE/arb_assert.h |
---|
46 | NJ.o: $(ARBHOME)/INCLUDE/arb_core.h |
---|
47 | NJ.o: $(ARBHOME)/INCLUDE/arb_diff.h |
---|
48 | NJ.o: $(ARBHOME)/INCLUDE/arb_error.h |
---|
49 | NJ.o: $(ARBHOME)/INCLUDE/arb_mem.h |
---|
50 | NJ.o: $(ARBHOME)/INCLUDE/arb_msg.h |
---|
51 | NJ.o: $(ARBHOME)/INCLUDE/arb_string.h |
---|
52 | NJ.o: $(ARBHOME)/INCLUDE/arbdb.h |
---|
53 | NJ.o: $(ARBHOME)/INCLUDE/arbdb_base.h |
---|
54 | NJ.o: $(ARBHOME)/INCLUDE/arbdbt.h |
---|
55 | NJ.o: $(ARBHOME)/INCLUDE/arbtools.h |
---|
56 | NJ.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
57 | NJ.o: $(ARBHOME)/INCLUDE/cxxforward.h |
---|
58 | NJ.o: $(ARBHOME)/INCLUDE/downcast.h |
---|
59 | NJ.o: $(ARBHOME)/INCLUDE/dupstr.h |
---|
60 | NJ.o: $(ARBHOME)/INCLUDE/gccver.h |
---|
61 | NJ.o: $(ARBHOME)/INCLUDE/smartptr.h |
---|
62 | NJ.o: $(ARBHOME)/INCLUDE/static_assert.h |
---|
63 | NJ.o: $(ARBHOME)/INCLUDE/test_global.h |
---|
64 | NJ.o: $(ARBHOME)/INCLUDE/test_unit.h |
---|
65 | NJ.o: $(ARBHOME)/INCLUDE/TreeNode.h |
---|