diff --git a/mps/src/dc.gmk b/mps/src/dc.gmk index fb47604aca1..426f6d1b191 100644 --- a/mps/src/dc.gmk +++ b/mps/src/dc.gmk @@ -1,7 +1,7 @@ # impl.gmk.dc: GNUMAKEFILE FRAGMENT FOR DIGITAL C COMPILER (DEC UNIX/OSF) # -# $HopeName: MMsrc!dc.gmk(trunk.1) $ -# Copyright(C) 1997 Harlequin Group, all rights reserved +# $HopeName: MMsrc!dc.gmk(trunk.2) $ +# Copyright(C) 1997, 1998 Harlequin Group, all rights reserved # # See design.buildsys.unix # @@ -16,17 +16,11 @@ # as the last statement. We would need to cleam our code in order to use # the option. -# We need a symbol for a non-empty defintion with empty value -ifdef MPS_EMPTY -error "dc.gmk: MPS_EMPTY defined" -endif - CC = cc CFLAGSCOMPILER = -std1 -w2 -warnprotos -portable -readonly_strings -CFLAGSHOT = -O2 -CFLAGSCOOL = $(MPS_EMPTY) -CFLAGSEXTERNAL = $(MPS_EMPTY) -CFLAGSINTERNAL = -g2 +CFLAGSDEBUG = -g2 +CFLAGSOPT = -O2 -g3 +CFLAGSOPTNODEBUG = -O2 # -M for a dependency file diff --git a/mps/src/lc.gmk b/mps/src/lc.gmk index f3b6e300d07..6443eaa326d 100644 --- a/mps/src/lc.gmk +++ b/mps/src/lc.gmk @@ -1,7 +1,7 @@ # impl.gmk.lc: GNUMAKEFILE FRAGMENT FOR LCC # -# $HopeName: MMsrc!lc.gmk(trunk.1) $ -# Copyright (C) 1996,1997 Harlequin Group, all rights reserved +# $HopeName: MMsrc!lc.gmk(trunk.2) $ +# Copyright (C) 1996,1997, 1998 Harlequin Group, all rights reserved # # This file is included by platform makefiles that use the LCC # compiler. It defines the compiler specific variables that the @@ -11,16 +11,15 @@ # the time and ignores the -O flag. Hence the empty CFLAGSOPTIMIZE # macro. -# We need a symbol for a non-empty defintion with empty value +# We need a symbol for a non-empty definition with empty value ifdef MPS_EMPTY error "lc.gmk: MPS_EMPTY defined" endif CC = lcc CFLAGSCOMPILER = -I/usr/include -CFLAGSHOT = $(MPS_EMPTY) -CFLAGSCOOL = $(MPS_EMPTY) -CFLAGSINTERNAL = -g -CFLAGSEXTERNAL = $(MPS_EMPTY) +CFLAGSDEBUG = -g +CFLAGSOPT = $(MPS_EMPTY) +CFLAGSOPTNODEBUG = $(MPS_EMPTY) include comm.gmk