[project @ 2001-05-03 08:57:30 by simonmar]
authorsimonmar <unknown>
Thu, 3 May 2001 08:57:30 +0000 (08:57 +0000)
committersimonmar <unknown>
Thu, 3 May 2001 08:57:30 +0000 (08:57 +0000)
disable the hsc2hs suffix rules when booting from .hc files.

mk/suffix.mk

index 1cff9c8..d7870b4 100644 (file)
@@ -112,8 +112,10 @@ endif # BootingViaC
 #-----------------------------------------------------------------------------
 # hsc2hs Suffix Rules
 #
+ifneq "$(BootingFromHc)" "YES"
 %_hsc.c %_hsc.h %.hs : %.hsc
        $(HSC2HS) $<
+endif
 
 #-----------------------------------------------------------------------------
 # Lx Suffix Rules