source: branches/profile/SL/TRANSLATE/Makefile

Last change on this file was 10996, checked in by westram, 11 years ago
  • use cflags before cxxflags
File size: 1.8 KB
Line 
1# for variables passed from parent makefile see ../../SOURCE_TOOLS/parent_make.txt
2
3.SUFFIXES: .o .c .cxx .depend
4
5C_OBJECTS = 
6CPP_OBJECTS = \
7        Translate.o \
8
9OBJECTS=$(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
20clean:
21        rm -f $(OBJECTS) *.a
22
23DEPENDS = $(OBJECTS:.o=.depend)
24depends: $(DEPENDS)
25        @cat $(DEPENDS) | grep -v '^#' >>Makefile
26        @rm $(DEPENDS)
27$(DEPENDS): depend.init
28depend.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
40Translate.o: Translate.hxx
41Translate.o: $(ARBHOME)/INCLUDE/ad_prot.h
42Translate.o: $(ARBHOME)/INCLUDE/ad_t_prot.h
43Translate.o: $(ARBHOME)/INCLUDE/AP_codon_table.hxx
44Translate.o: $(ARBHOME)/INCLUDE/AP_pro_a_nucs.hxx
45Translate.o: $(ARBHOME)/INCLUDE/arb_assert.h
46Translate.o: $(ARBHOME)/INCLUDE/arb_core.h
47Translate.o: $(ARBHOME)/INCLUDE/arb_error.h
48Translate.o: $(ARBHOME)/INCLUDE/arb_msg.h
49Translate.o: $(ARBHOME)/INCLUDE/arb_string.h
50Translate.o: $(ARBHOME)/INCLUDE/arbdb.h
51Translate.o: $(ARBHOME)/INCLUDE/arbdb_base.h
52Translate.o: $(ARBHOME)/INCLUDE/arbdbt.h
53Translate.o: $(ARBHOME)/INCLUDE/arbtools.h
54Translate.o: $(ARBHOME)/INCLUDE/attributes.h
55Translate.o: $(ARBHOME)/INCLUDE/cxxforward.h
56Translate.o: $(ARBHOME)/INCLUDE/downcast.h
57Translate.o: $(ARBHOME)/INCLUDE/dupstr.h
58Translate.o: $(ARBHOME)/INCLUDE/gccver.h
59Translate.o: $(ARBHOME)/INCLUDE/smartptr.h
60Translate.o: $(ARBHOME)/INCLUDE/static_assert.h
61Translate.o: $(ARBHOME)/INCLUDE/test_global.h
Note: See TracBrowser for help on using the repository browser.