diff --git a/ghc/utils/ugen/Makefile b/ghc/utils/ugen/Makefile
index 1951faa210538269042e08e3a155ec2ac3b2d915..f1ed1b13034f7336118989c6c328b1b4df8a765f 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 91bd721723de4317686f0fdf871f087d7723cd63..a23895cf87656e0639a5abd9c187ed878656279e 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