Last change
on this file was
19446,
checked in by westram, 16 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.6 KB
|
Line | |
---|
1 | .SUFFIXES: .o .c .depend |
---|
2 | |
---|
3 | SOURCE_FILES = $(wildcard *.c) |
---|
4 | |
---|
5 | OBJECTS = $(SOURCE_FILES:.c=.o) |
---|
6 | |
---|
7 | BINARY=$(ARBHOME)/bin/clustalw |
---|
8 | |
---|
9 | $(BINARY) : $(OBJECTS) |
---|
10 | $(A_CC) $(cflags) $(onlyC_flags) -o $@ $(OBJECTS) -lm |
---|
11 | |
---|
12 | .c.o: |
---|
13 | $(A_CC) $(cflags) $(onlyC_flags) -c -o $@ $< $(CC_INCLUDES) $(POST_COMPILE) $< |
---|
14 | |
---|
15 | clean: |
---|
16 | rm -f *.o $(BINARY) |
---|
17 | |
---|
18 | DEPENDS = $(OBJECTS:.o=.depend) |
---|
19 | depends: $(DEPENDS) |
---|
20 | @cat $(DEPENDS) | grep -v '^#' >>Makefile |
---|
21 | @rm $(DEPENDS) |
---|
22 | $(DEPENDS): depend.init |
---|
23 | depend.init: |
---|
24 | $(MAKEDEPEND) $(MAKEDEPENDFLAGS) 2>/dev/null # remove dependencies |
---|
25 | .c.depend: |
---|
26 | $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@ |
---|
27 | |
---|
28 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
---|
29 | |
---|
30 | # Do not add dependencies manually - use 'make depend' in $ARBHOME |
---|
31 | # For formatting issues see SOURCE_TOOLS/fix_depends.pl (from GDE) |
---|
32 | |
---|
33 | alnscore.o: clustalw.h |
---|
34 | alnscore.o: general.h |
---|
35 | |
---|
36 | amenu.o: clustalw.h |
---|
37 | amenu.o: general.h |
---|
38 | |
---|
39 | calcgapcoeff.o: clustalw.h |
---|
40 | calcgapcoeff.o: general.h |
---|
41 | |
---|
42 | calcprf1.o: clustalw.h |
---|
43 | calcprf1.o: general.h |
---|
44 | |
---|
45 | calcprf2.o: clustalw.h |
---|
46 | calcprf2.o: general.h |
---|
47 | |
---|
48 | calctree.o: clustalw.h |
---|
49 | calctree.o: general.h |
---|
50 | |
---|
51 | clustalw.o: clustalw.h |
---|
52 | clustalw.o: general.h |
---|
53 | |
---|
54 | interface.o: clustalw.h |
---|
55 | interface.o: general.h |
---|
56 | interface.o: param.h |
---|
57 | interface.o: $(ARBHOME)/INCLUDE/gets_noOverflow.h |
---|
58 | |
---|
59 | malign.o: clustalw.h |
---|
60 | malign.o: general.h |
---|
61 | |
---|
62 | pairalign.o: clustalw.h |
---|
63 | pairalign.o: general.h |
---|
64 | |
---|
65 | prfalign.o: clustalw.h |
---|
66 | prfalign.o: general.h |
---|
67 | |
---|
68 | readmat.o: clustalw.h |
---|
69 | readmat.o: general.h |
---|
70 | readmat.o: matrices.h |
---|
71 | |
---|
72 | sequence.o: clustalw.h |
---|
73 | sequence.o: general.h |
---|
74 | |
---|
75 | showpair.o: clustalw.h |
---|
76 | showpair.o: general.h |
---|
77 | |
---|
78 | trees.o: clustalw.h |
---|
79 | trees.o: dayhoff.h |
---|
80 | trees.o: general.h |
---|
81 | |
---|
82 | util.o: clustalw.h |
---|
83 | util.o: general.h |
---|
84 | util.o: $(ARBHOME)/INCLUDE/gets_noOverflow.h |
---|
Note: See
TracBrowser
for help on using the repository browser.