From: sof Date: Tue, 21 Jan 1997 10:55:01 +0000 (+0000) Subject: [project @ 1997-01-21 10:55:01 by sof] X-Git-Tag: Approximately_1000_patches_recorded~838 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=ef61553bb826238a27c9b800cd71ac061ee55813;p=ghc-hetmet.git [project @ 1997-01-21 10:55:01 by sof] Way .hi: .o rule added --- diff --git a/mk/rules.mk b/mk/rules.mk index 3026bdb..46b4c78 100644 --- a/mk/rules.mk +++ b/mk/rules.mk @@ -1,5 +1,5 @@ #----------------------------------------------------------------------------- -# $Id: rules.mk,v 1.2 1996/11/21 16:50:38 simonm Exp $ +# $Id: rules.mk,v 1.3 1997/01/21 10:55:01 sof Exp $ # This file defines the default suffix rules. It replaces suffixes.jm in the # jmake system. @@ -290,6 +290,12 @@ ifdef SuffixRule_o_hi exit 1; \ else exit 0 ; \ fi +%.$(suffix)_hi : %.$(suffix)_o + @if [ ! -f $@ ] ; then \ + echo You need to create an initial $@ by hand ; \ + exit 1; \ + else exit 0 ; \ + fi endif ifdef SuffixRule_hc_hi