Last change
on this file was
19446,
checked in by westram, 17 months ago
|
- introduce onlyC_flags
- flags used for C compilation only.
- similar to cxxflags (references added).
- pass down onlyC_flags into AxML, CLUSTAL, CLUSTALW, FASTDNAML, FASTTREE, GL, MrBAYES, PHYLIP, PHYML*, RAxML, SINA(unused), SOURCE_TOOLS, SUPPORT, TOOLS, TREEGEN + TREEPUZZLE.
- set flags to -Werror-implicit-function-declaration
- error is only effective in a small part of these modules.
- need to activate warnings → will activate the error as well.
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
1.5 KB
|
Line | |
---|
1 | |
---|
2 | .SUFFIXES: .o .c .depend |
---|
3 | |
---|
4 | OBJECT = \ |
---|
5 | src/gamma.o \ |
---|
6 | src/ml1.o \ |
---|
7 | src/ml2.o \ |
---|
8 | src/ml3.o \ |
---|
9 | src/model1.o \ |
---|
10 | src/model2.o \ |
---|
11 | src/puzzle1.o \ |
---|
12 | src/puzzle2.o \ |
---|
13 | src/sched.o \ |
---|
14 | src/util.o \ |
---|
15 | |
---|
16 | # src/ppuzzle.o \ |
---|
17 | |
---|
18 | BINARY=$(ARBHOME)/bin/puzzle |
---|
19 | |
---|
20 | PUZZ_CFLAGS = $(cflags) $(onlyC_flags) -DPACKAGE=\"tree-puzzle\" -DVERSION=\"5.0\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -Isrc |
---|
21 | |
---|
22 | $(BINARY): $(OBJECT) |
---|
23 | $(A_CC) $(PUZZ_CFLAGS) -o $@ $(OBJECT) -lm |
---|
24 | |
---|
25 | src/%.o : src/%.c |
---|
26 | $(A_CC) $(PUZZ_CFLAGS) -c -o $@ $< $(CC_INCLUDES) $(POST_COMPILE) $< |
---|
27 | |
---|
28 | clean: |
---|
29 | rm -f $(OBJECT) $(BINARY) |
---|
30 | |
---|
31 | DEPENDS = $(OBJECT:.o=.depend) |
---|
32 | depends: $(DEPENDS) |
---|
33 | @cat $(DEPENDS) | grep -v '^#' >>Makefile |
---|
34 | @rm $(DEPENDS) |
---|
35 | $(DEPENDS): depend.init |
---|
36 | depend.init: |
---|
37 | $(MAKEDEPEND) $(MAKEDEPENDFLAGS) 2>/dev/null # remove dependencies |
---|
38 | .c.depend: |
---|
39 | $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@ |
---|
40 | |
---|
41 | |
---|
42 | # DO NOT DELETE |
---|
43 | |
---|
44 | # Do not add dependencies manually - use 'make depend' in $ARBHOME |
---|
45 | # For formatting issues see SOURCE_TOOLS/fix_depends.pl (from GDE) |
---|
46 | |
---|
47 | src/gamma.o: src/gamma.h |
---|
48 | src/gamma.o: src/util.h |
---|
49 | |
---|
50 | src/ml1.o: src/ml.h |
---|
51 | src/ml1.o: src/util.h |
---|
52 | |
---|
53 | src/ml2.o: src/ml.h |
---|
54 | src/ml2.o: src/util.h |
---|
55 | |
---|
56 | src/ml3.o: src/gamma.h |
---|
57 | src/ml3.o: src/ml.h |
---|
58 | src/ml3.o: src/util.h |
---|
59 | |
---|
60 | src/model1.o: src/ml.h |
---|
61 | src/model1.o: src/util.h |
---|
62 | |
---|
63 | src/model2.o: src/ml.h |
---|
64 | src/model2.o: src/util.h |
---|
65 | |
---|
66 | src/puzzle1.o: src/gamma.h |
---|
67 | src/puzzle1.o: src/ml.h |
---|
68 | src/puzzle1.o: src/puzzle.h |
---|
69 | src/puzzle1.o: src/util.h |
---|
70 | |
---|
71 | src/puzzle2.o: src/ml.h |
---|
72 | src/puzzle2.o: src/puzzle.h |
---|
73 | src/puzzle2.o: src/util.h |
---|
74 | |
---|
75 | src/sched.o: src/sched.h |
---|
76 | src/sched.o: src/util.h |
---|
77 | |
---|
78 | src/util.o: src/util.h |
---|
Note: See
TracBrowser
for help on using the repository browser.