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.9 by williamc, Thu Apr 1 08:27:33 1999 UTC vs.
Revision 1.10 by williamc, Thu Apr 1 09:55:00 1999 UTC

# Line 32 | Line 32 | SharedCCTool = @echo No Shared Library s
32   # Sun 4.2 CC
33   #----------------------------------------------
34   ifeq ($(CCcompiler),Sun-CC-4.2)
35 + CXX=CC
36   CXXFLAGS+=-ptr$(template_dir) -features=rtti
37   #template_dir=$(shell echo $@ )
38   template_dir=$(shell echo $@ | sed -e 's/.*\(_.*\)\..*/tmpl\1/' -e 's/.*.o/tmpl/' -e 's/.*.a/tmpl/' -e 's/.*.exe/tmpl/')
39 < ArchiveCCTool = CC -xar -o $@ $^ -ptr$(template_dir)
40 < SharedCCTool = CC -G -o $@ $^ -ptr$(template_dir)
41 < DependencyCCTool = CC -xM1 $(CPPFLAGS) $^ > $@
39 > ArchiveCCTool = $(CXX) -xar -o $@ $^ -ptr$(template_dir)
40 > SharedCCTool = $(CXX) -G -o $@ $^ -ptr$(template_dir)
41 > DependencyCCTool = $(CXX) -xM1 $(CPPFLAGS) $^ > $@
42   ifdef f77
43   extralib+=M77 F77 sunmath m
44   endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines