source: trunk/GDE/CLUSTALW/Makefile

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.
      • TODO 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
3SOURCE_FILES = $(wildcard *.c)
4
5OBJECTS = $(SOURCE_FILES:.c=.o)
6
7BINARY=$(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
15clean:
16        rm -f *.o $(BINARY)
17
18DEPENDS = $(OBJECTS:.o=.depend)
19depends: $(DEPENDS)
20        @cat $(DEPENDS) | grep -v '^#' >>Makefile
21        @rm $(DEPENDS)
22$(DEPENDS): depend.init
23depend.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
33alnscore.o: clustalw.h
34alnscore.o: general.h
35
36amenu.o: clustalw.h
37amenu.o: general.h
38
39calcgapcoeff.o: clustalw.h
40calcgapcoeff.o: general.h
41
42calcprf1.o: clustalw.h
43calcprf1.o: general.h
44
45calcprf2.o: clustalw.h
46calcprf2.o: general.h
47
48calctree.o: clustalw.h
49calctree.o: general.h
50
51clustalw.o: clustalw.h
52clustalw.o: general.h
53
54interface.o: clustalw.h
55interface.o: general.h
56interface.o: param.h
57interface.o: $(ARBHOME)/INCLUDE/gets_noOverflow.h
58
59malign.o: clustalw.h
60malign.o: general.h
61
62pairalign.o: clustalw.h
63pairalign.o: general.h
64
65prfalign.o: clustalw.h
66prfalign.o: general.h
67
68readmat.o: clustalw.h
69readmat.o: general.h
70readmat.o: matrices.h
71
72sequence.o: clustalw.h
73sequence.o: general.h
74
75showpair.o: clustalw.h
76showpair.o: general.h
77
78trees.o: clustalw.h
79trees.o: dayhoff.h
80trees.o: general.h
81
82util.o: clustalw.h
83util.o: general.h
84util.o: $(ARBHOME)/INCLUDE/gets_noOverflow.h
Note: See TracBrowser for help on using the repository browser.