X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fmk%2Fsuffix.mk;h=7c95850c04452768b3420bee842477db5ab36e13;hb=e3b8ed25d2205a9372c047afeb043468649681cb;hp=74d6e23a033198909657a78e3ad2b861f7dad4aa;hpb=83401d9289e609957fe0df23338dff706f69c54f;p=ghc-hetmet.git diff --git a/ghc/mk/suffix.mk b/ghc/mk/suffix.mk index 74d6e23..7c95850 100644 --- a/ghc/mk/suffix.mk +++ b/ghc/mk/suffix.mk @@ -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 # @@ -13,7 +13,10 @@ # 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