[project @ 2001-05-18 09:16:59 by simonmar]
[ghc-hetmet.git] / ghc / mk / suffix.mk
index 74d6e23..7c95850 100644 (file)
@@ -1,6 +1,6 @@
 #################################################################################
 #
-#       $Id: suffix.mk,v 1.3 1997/09/04 19:51:32 sof Exp $
+#       $Id: suffix.mk,v 1.5 1998/12/03 15:24:08 simonm Exp $
 #
 #              GHC-specific suffix rules
 #
 # resides in a directory parser/
 #
 
-parser/%.h parser/%.c parser/U_%.hs : parser/%.ugn
+parser/U_%.hs : parser/%.c
+       @:
+
+parser/%.h parser/%.c : parser/%.ugn
        @$(RM) $@ parser/$*.c parser/$*.hs parser/U_$*.hs parser/$*.h
        $(UGEN) $< || $(RM) parser/$*.h parser/$*.c parser/$*.hs
        @$(MV) -f parser/$*.hs parser/U_$*.hs