source: tags/ms_ra2q2/XML/Makefile

Last change on this file was 13443, checked in by westram, 10 years ago
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.1 KB
Line 
1# for variables passed from parent makefile see ../SOURCE_TOOLS/parent_make.txt
2
3.SUFFIXES: .o .cxx .depend
4
5
6CPP_OBJECTS = xml.o
7
8$(MAIN): $(CPP_OBJECTS)
9        $(LINK_STATIC_LIB) $(MAIN) $(CPP_OBJECTS)
10
11.cxx.o:
12        $(A_CXX) $(cflags) $(cxxflags) -c $< $(CXX_INCLUDES) $(POST_COMPILE) $<
13
14clean:
15        rm -f $(CPP_OBJECTS) *.a
16
17DEPENDS = $(CPP_OBJECTS:.o=.depend)
18depends: $(DEPENDS)
19        @cat $(DEPENDS) | grep -v '^#' >>Makefile
20        @rm $(DEPENDS)
21$(DEPENDS): depend.init
22depend.init:
23        $(MAKEDEPEND) $(MAKEDEPENDFLAGS) 2>/dev/null # remove dependencies
24.c.depend:
25        $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@
26.cxx.depend:
27        $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@
28
29# DO NOT DELETE
30
31# Do not add dependencies manually - use 'make depend' in $ARBHOME
32# For formatting issues see SOURCE_TOOLS/fix_depends.pl (from main)
33
34xml.o: xml.hxx
35xml.o: $(ARBHOME)/INCLUDE/arb_assert.h
36xml.o: $(ARBHOME)/INCLUDE/arb_core.h
37xml.o: $(ARBHOME)/INCLUDE/arbtools.h
38xml.o: $(ARBHOME)/INCLUDE/attributes.h
39xml.o: $(ARBHOME)/INCLUDE/cxxforward.h
40xml.o: $(ARBHOME)/INCLUDE/dupstr.h
41xml.o: $(ARBHOME)/INCLUDE/gccver.h
42xml.o: $(ARBHOME)/INCLUDE/test_global.h
Note: See TracBrowser for help on using the repository browser.