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.10 by williamc, Thu Apr 1 09:55:00 1999 UTC vs.
Revision 1.14 by williamc, Thu Apr 8 12:55:49 1999 UTC

# Line 22 | Line 22 | FC:=f77
22   ArchiveSuffix = a
23   ArchiveTool = ar -rc $@ $^
24   ArchiveCCTool = $(ArchiveTool)
25 + SCClinkCmd=$(CXX) $(CXXFLAGS) $(LDFLAGS) $< -o $@
26 + SCClinkCmd_d=$(CXX) $(CXXFLAGS) $(CXXDebugFlag) $(LDFLAGS) $< -o $@
27 + CClinkCmd=$(SCClinkCmd) $(LDLIBS)
28 + CClinkCmdDebug=$(SCClinkCmd_d) $(LDLIBS_D)
29 + CClinkCmdInsure=$(SCClinkCmd_d) $(LDLIBS_Insure)
30  
31   SharedCCObjectFlags = -PIC
32   SharedFCObjectFlags = -PIC
# Line 33 | Line 38 | SharedCCTool = @echo No Shared Library s
38   #----------------------------------------------
39   ifeq ($(CCcompiler),Sun-CC-4.2)
40   CXX=CC
41 < CXXFLAGS+=-ptr$(template_dir) -features=rtti
37 < #template_dir=$(shell echo $@ )
41 > CXXFLAGS+=-ptr$(template_dir)
42   template_dir=$(shell echo $@ | sed -e 's/.*\(_.*\)\..*/tmpl\1/' -e 's/.*.o/tmpl/' -e 's/.*.a/tmpl/' -e 's/.*.exe/tmpl/')
43   ArchiveCCTool = $(CXX) -xar -o $@ $^ -ptr$(template_dir)
44   SharedCCTool = $(CXX) -G -o $@ $^ -ptr$(template_dir)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines