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.3 KB
|
Line | |
---|
1 | .SUFFIXES: .o .c .depend |
---|
2 | |
---|
3 | OBJECTS = clustalv.o amenu.o myers.o sequence.o showpair.o \ |
---|
4 | upgma.o util.o trees.o gcgcheck.o |
---|
5 | |
---|
6 | BINARY=$(ARBHOME)/bin/clustalv |
---|
7 | |
---|
8 | $(BINARY) : $(OBJECTS) |
---|
9 | $(A_CC) $(cflags) $(onlyC_flags) -o $@ $(OBJECTS) -lm |
---|
10 | |
---|
11 | .c.o: |
---|
12 | $(A_CC) $(cflags) $(onlyC_flags) -c -o $@ $< $(CC_INCLUDES) $(POST_COMPILE) $< |
---|
13 | |
---|
14 | clean: |
---|
15 | rm -f $(OBJECTS) $(BINARY) |
---|
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 | |
---|
27 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
---|
28 | |
---|
29 | # Do not add dependencies manually - use 'make depend' in $ARBHOME |
---|
30 | # For formatting issues see SOURCE_TOOLS/fix_depends.pl (from GDE) |
---|
31 | |
---|
32 | amenu.o: clustalv.h |
---|
33 | amenu.o: general.h |
---|
34 | amenu.o: $(ARBHOME)/INCLUDE/gets_noOverflow.h |
---|
35 | |
---|
36 | clustalv.o: clustalv.h |
---|
37 | clustalv.o: general.h |
---|
38 | clustalv.o: matrices.h |
---|
39 | |
---|
40 | myers.o: clustalv.h |
---|
41 | myers.o: general.h |
---|
42 | |
---|
43 | sequence.o: clustalv.h |
---|
44 | sequence.o: general.h |
---|
45 | |
---|
46 | showpair.o: clustalv.h |
---|
47 | showpair.o: general.h |
---|
48 | |
---|
49 | trees.o: clustalv.h |
---|
50 | trees.o: general.h |
---|
51 | |
---|
52 | upgma.o: clustalv.h |
---|
53 | upgma.o: general.h |
---|
54 | |
---|
55 | util.o: clustalv.h |
---|
56 | util.o: general.h |
---|
57 | util.o: $(ARBHOME)/INCLUDE/gets_noOverflow.h |
---|
Note: See
TracBrowser
for help on using the repository browser.