source: branches/stable/EISPACK/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: 915 bytes
Line 
1# for variables passed from parent makefile see ../SOURCE_TOOLS/parent_make.txt
2
3.SUFFIXES: .o .cxx .depend
4
5
6CPP_OBJECTS =  eispack.o d_sign.o
7
8$(MAIN): $(CPP_OBJECTS)
9        $(LINK_STATIC_LIB) $(MAIN) $(CPP_OBJECTS)
10
11clean:
12        rm -f $(CPP_OBJECTS) *.a
13
14.cxx.o:
15        $(A_CXX) $(cflags) $(cxxflags) -c $< $(CXX_INCLUDES) $(POST_COMPILE) $<
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 THIS LINE -- make depend depends on it.
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
34d_sign.o: f2c.h
35
36eispack.o: f2c.h
Note: See TracBrowser for help on using the repository browser.