source: branches/profile/SL/TREE_READ/Makefile

Last change on this file was 10996, checked in by westram, 11 years ago
  • use cflags before cxxflags
File size: 2.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 = TreeRead.o TreeTools.o
7OBJECTS=$(C_OBJECTS) $(CPP_OBJECTS)
8
9$(MAIN): $(OBJECTS)
10        $(LINK_STATIC_LIB) $(MAIN) $(OBJECTS)
11
12.cxx.o:
13        $(A_CXX) $(cflags) $(cxxflags) -c $< $(CXX_INCLUDES) $(POST_COMPILE)
14
15.c.o:
16        $(A_CC) $(cflags) -c $< $(CC_INCLUDES) $(POST_COMPILE)
17
18clean:
19        rm -f $(OBJECTS) *.a
20
21DEPENDS = $(OBJECTS:.o=.depend)
22depends: $(DEPENDS)
23        @cat $(DEPENDS) | grep -v '^#' >>Makefile
24        @rm $(DEPENDS)
25$(DEPENDS): depend.init
26depend.init:
27        $(MAKEDEPEND) $(MAKEDEPENDFLAGS) 2>/dev/null # remove dependencies
28.c.depend:
29        $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@
30.cxx.depend:
31        $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@
32
33# DO NOT DELETE
34
35# Do not add dependencies manually - use 'make depend' in $ARBHOME
36# For formatting issues see SOURCE_TOOLS/fix_depends.pl (from SL)
37
38TreeRead.o: TreeRead.h
39TreeRead.o: $(ARBHOME)/INCLUDE/ad_prot.h
40TreeRead.o: $(ARBHOME)/INCLUDE/ad_t_prot.h
41TreeRead.o: $(ARBHOME)/INCLUDE/arb_assert.h
42TreeRead.o: $(ARBHOME)/INCLUDE/arb_core.h
43TreeRead.o: $(ARBHOME)/INCLUDE/arb_defs.h
44TreeRead.o: $(ARBHOME)/INCLUDE/arb_error.h
45TreeRead.o: $(ARBHOME)/INCLUDE/arb_file.h
46TreeRead.o: $(ARBHOME)/INCLUDE/arb_msg.h
47TreeRead.o: $(ARBHOME)/INCLUDE/arb_msg_fwd.h
48TreeRead.o: $(ARBHOME)/INCLUDE/arb_strbuf.h
49TreeRead.o: $(ARBHOME)/INCLUDE/arb_string.h
50TreeRead.o: $(ARBHOME)/INCLUDE/arbdb.h
51TreeRead.o: $(ARBHOME)/INCLUDE/arbdb_base.h
52TreeRead.o: $(ARBHOME)/INCLUDE/arbdbt.h
53TreeRead.o: $(ARBHOME)/INCLUDE/arbtools.h
54TreeRead.o: $(ARBHOME)/INCLUDE/attributes.h
55TreeRead.o: $(ARBHOME)/INCLUDE/cxxforward.h
56TreeRead.o: $(ARBHOME)/INCLUDE/downcast.h
57TreeRead.o: $(ARBHOME)/INCLUDE/dupstr.h
58TreeRead.o: $(ARBHOME)/INCLUDE/gccver.h
59TreeRead.o: $(ARBHOME)/INCLUDE/smartptr.h
60TreeRead.o: $(ARBHOME)/INCLUDE/static_assert.h
61TreeRead.o: $(ARBHOME)/INCLUDE/test_global.h
62TreeRead.o: $(ARBHOME)/INCLUDE/test_unit.h
63
64TreeTools.o: TreeRead.h
65TreeTools.o: $(ARBHOME)/INCLUDE/ad_prot.h
66TreeTools.o: $(ARBHOME)/INCLUDE/ad_t_prot.h
67TreeTools.o: $(ARBHOME)/INCLUDE/arb_assert.h
68TreeTools.o: $(ARBHOME)/INCLUDE/arb_core.h
69TreeTools.o: $(ARBHOME)/INCLUDE/arb_error.h
70TreeTools.o: $(ARBHOME)/INCLUDE/arb_msg.h
71TreeTools.o: $(ARBHOME)/INCLUDE/arb_string.h
72TreeTools.o: $(ARBHOME)/INCLUDE/arbdb.h
73TreeTools.o: $(ARBHOME)/INCLUDE/arbdb_base.h
74TreeTools.o: $(ARBHOME)/INCLUDE/arbdbt.h
75TreeTools.o: $(ARBHOME)/INCLUDE/arbtools.h
76TreeTools.o: $(ARBHOME)/INCLUDE/attributes.h
77TreeTools.o: $(ARBHOME)/INCLUDE/cxxforward.h
78TreeTools.o: $(ARBHOME)/INCLUDE/downcast.h
79TreeTools.o: $(ARBHOME)/INCLUDE/dupstr.h
80TreeTools.o: $(ARBHOME)/INCLUDE/gccver.h
81TreeTools.o: $(ARBHOME)/INCLUDE/smartptr.h
82TreeTools.o: $(ARBHOME)/INCLUDE/static_assert.h
83TreeTools.o: $(ARBHOME)/INCLUDE/test_global.h
Note: See TracBrowser for help on using the repository browser.