source: branches/profile/SL/TREE_WRITE/Makefile

Last change on this file was 10996, checked in by westram, 11 years ago
  • use cflags before cxxflags
File size: 1.9 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 = TreeWrite.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
38TreeWrite.o: TreeWrite.h
39TreeWrite.o: $(ARBHOME)/INCLUDE/ad_prot.h
40TreeWrite.o: $(ARBHOME)/INCLUDE/ad_t_prot.h
41TreeWrite.o: $(ARBHOME)/INCLUDE/arb_assert.h
42TreeWrite.o: $(ARBHOME)/INCLUDE/arb_core.h
43TreeWrite.o: $(ARBHOME)/INCLUDE/arb_error.h
44TreeWrite.o: $(ARBHOME)/INCLUDE/arb_msg.h
45TreeWrite.o: $(ARBHOME)/INCLUDE/arb_strbuf.h
46TreeWrite.o: $(ARBHOME)/INCLUDE/arb_string.h
47TreeWrite.o: $(ARBHOME)/INCLUDE/arbdb.h
48TreeWrite.o: $(ARBHOME)/INCLUDE/arbdb_base.h
49TreeWrite.o: $(ARBHOME)/INCLUDE/arbdbt.h
50TreeWrite.o: $(ARBHOME)/INCLUDE/arbtools.h
51TreeWrite.o: $(ARBHOME)/INCLUDE/attributes.h
52TreeWrite.o: $(ARBHOME)/INCLUDE/aw_base.hxx
53TreeWrite.o: $(ARBHOME)/INCLUDE/cxxforward.h
54TreeWrite.o: $(ARBHOME)/INCLUDE/downcast.h
55TreeWrite.o: $(ARBHOME)/INCLUDE/dupstr.h
56TreeWrite.o: $(ARBHOME)/INCLUDE/gccver.h
57TreeWrite.o: $(ARBHOME)/INCLUDE/nds.h
58TreeWrite.o: $(ARBHOME)/INCLUDE/smartptr.h
59TreeWrite.o: $(ARBHOME)/INCLUDE/static_assert.h
60TreeWrite.o: $(ARBHOME)/INCLUDE/test_global.h
61TreeWrite.o: $(ARBHOME)/INCLUDE/xml.hxx
Note: See TracBrowser for help on using the repository browser.