[project @ 1997-01-21 10:55:01 by sof]
authorsof <unknown>
Tue, 21 Jan 1997 10:55:01 +0000 (10:55 +0000)
committersof <unknown>
Tue, 21 Jan 1997 10:55:01 +0000 (10:55 +0000)
Way .hi: .o rule added

mk/rules.mk

index 3026bdb..46b4c78 100644 (file)
@@ -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