source: branches/nameserver/XML_IMPORT/IMP_TREE/Makefile

Last change on this file was 16223, checked in by westram, 7 years ago
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 783 bytes
Line 
1# for variables passed from parent makefile see ../../SOURCE_TOOLS/parent_make.txt
2
3.SUFFIXES: .o .cxx .depend
4
5CPP_OBJECTS = sax2Handler.o \
6                xmlParser.o \
7
8TARGET=$(ARBHOME)/bin/xml2newick
9
10$(MAIN): $(TARGET)
11
12$(TARGET) : $(CPP_OBJECTS)
13        $(LINK_EXECUTABLE) $@ $(CPP_OBJECTS)
14
15.cxx.o:
16        $(A_CXX) $(cflags) $(cxxflags) -c -o $@ $<  $(CXX_INCLUDES) $(POST_COMPILE) $<
17
18DEPENDS = $(CPP_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.cxx.depend:
28        $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@
29
30# DO NOT DELETE THIS LINE -- make depend depends on it.
Note: See TracBrowser for help on using the repository browser.