diff --git a/ghc/rts/Makefile b/ghc/rts/Makefile
index b92318923a969608b31622aa830b32aa25d4e426..d1355f0e8654eba0d58cddcd47239958f7655167 100644
--- a/ghc/rts/Makefile
+++ b/ghc/rts/Makefile
@@ -1,5 +1,5 @@
 #-----------------------------------------------------------------------------
-# $Id: Makefile,v 1.39 2000/11/07 10:42:57 simonmar Exp $
+# $Id: Makefile,v 1.40 2000/11/07 16:24:25 simonmar Exp $
 #
 #  This is the Makefile for the runtime-system stuff.
 #  This stuff is written in C (and cannot be written in Haskell).
@@ -80,7 +80,7 @@ ifneq "$(GTK_CONFIG)" ""
 ifeq "$(GhcRtsWithFrontPanel)" "YES"
 SRC_HC_OPTS += `$(GTK_CONFIG) --cflags` -optc-DRTS_GTK_FRONTPANEL
 else
-SRCS_RTS_C :=  $(filter-out Vis*.c, $(SRCS_RTS_C))
+SRCS_RTS_C :=  $(filter-out Vis%.c, $(SRCS_RTS_C))
 endif
 
 VisCallbacks_CC_OPTS = -optc-Wno-unused