ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/src/compilers.mk
(Generate patch)

Comparing COMP/SCRAM/src/compilers.mk (file contents):
Revision 1.4 by williamc, Wed Mar 24 10:18:07 1999 UTC vs.
Revision 1.9 by williamc, Thu Apr 1 08:27:33 1999 UTC

# Line 17 | Line 17
17   CXX=CC
18   CXXDebugFlag=-g
19   FCDebugFlag=-g
20 + FC:=f77
21  
22   ArchiveSuffix = a
23   ArchiveTool = ar -rc $@ $^
# Line 31 | Line 32 | SharedCCTool = @echo No Shared Library s
32   # Sun 4.2 CC
33   #----------------------------------------------
34   ifeq ($(CCcompiler),Sun-CC-4.2)
35 < CXXFLAGS+=-ptr$(template_dir)
35 > CXXFLAGS+=-ptr$(template_dir) -features=rtti
36   #template_dir=$(shell echo $@ )
37 < template_dir=$(shell echo $@ | sed -e 's/.*\(_.*\)\..*/tmpl\1/' -e 's/.*.o/tmpl/' -e 's/.*.a/tmpl/' )
37 > template_dir=$(shell echo $@ | sed -e 's/.*\(_.*\)\..*/tmpl\1/' -e 's/.*.o/tmpl/' -e 's/.*.a/tmpl/' -e 's/.*.exe/tmpl/')
38   ArchiveCCTool = CC -xar -o $@ $^ -ptr$(template_dir)
39   SharedCCTool = CC -G -o $@ $^ -ptr$(template_dir)
40   DependencyCCTool = CC -xM1 $(CPPFLAGS) $^ > $@
# Line 79 | Line 80 | ifdef f77
80   extralib+=g2c m
81   endif
82   endif
83 +
84 + #----------------------------------------------
85 + # GNU g77 Fortran compiler
86 + #----------------------------------------------
87 + ifeq ($(F77compiler),g77)
88 + FC:=g77
89 + endif
90 +
91 +
92 + #-----------------------------------------------
93 + # Insure++
94 + #-----------------------------------------------
95 + Insure:=insure
96 + .psrc :
97 +        -@rm .psrc
98 +        echo insure++.compiler_cpp $(CXX) >> .psrc
99 +        echo insure++.temp_directory /tmp >> .psrc
100 +        echo insure++.compiler_default cpp >> .psrc
101 +        echo insure++.summarize leaks >> .psrc

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines