summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsof <unknown>1997-09-03 23:28:47 +0000
committersof <unknown>1997-09-03 23:28:47 +0000
commitfc892021657fbb7b3a46de28ee01b35a2af9aee9 (patch)
tree8c61b51f4d8dc983d3de0e5cce6f3c4abe4d1702
parentd90a4ecc6620ddd78e7f376aa3752aa83f0881e1 (diff)
downloadhaskell-fc892021657fbb7b3a46de28ee01b35a2af9aee9.tar.gz
[project @ 1997-09-03 23:28:39 by sof]
Added -O to SRC_CC_OPTS
-rw-r--r--ghc/utils/ugen/Makefile5
-rw-r--r--ghc/utils/unlit/Makefile1
2 files changed, 4 insertions, 2 deletions
diff --git a/ghc/utils/ugen/Makefile b/ghc/utils/ugen/Makefile
index 1951faa210..f1ed1b1303 100644
--- a/ghc/utils/ugen/Makefile
+++ b/ghc/utils/ugen/Makefile
@@ -1,5 +1,5 @@
#-----------------------------------------------------------------------------
-# $Id: Makefile,v 1.4 1997/03/24 03:02:09 sof Exp $
+# $Id: Makefile,v 1.5 1997/09/03 23:28:47 sof Exp $
TOP=../..
include $(TOP)/mk/boilerplate.mk
@@ -10,7 +10,8 @@ C_SRCS = syntax.tab.c lex.c id.c tree.c yyerror.c gen.c main.c
C_PROG = ugen
LIBS = $(FLEX_LIB)
-CLEAN_FILES += syntax.tab.c syntax.tab.h
+CLEAN_FILES += syntax.tab.c syntax.tab.h lex.c
+SRC_CC_OPTS += -O
#
# Include flex & bison output in the source distribution.
diff --git a/ghc/utils/unlit/Makefile b/ghc/utils/unlit/Makefile
index 91bd721723..a23895cf87 100644
--- a/ghc/utils/unlit/Makefile
+++ b/ghc/utils/unlit/Makefile
@@ -4,6 +4,7 @@ override WAYS=
C_SRCS=unlit.c
C_PROG=unlit
+SRC_CC_OPTS += -O
# Get it over with!
boot :: all