[project @ 2001-03-23 16:36:20 by simonmar]
[ghc-hetmet.git] / ghc / utils / genprimopcode / Makefile
index 3d9dbcd..753fd94 100644 (file)
@@ -1,5 +1,5 @@
 # -----------------------------------------------------------------------------
-# $Id: Makefile,v 1.4 2000/12/30 20:42:03 panne Exp $
+# $Id: Makefile,v 1.5 2001/03/23 16:36:22 simonmar Exp $
 
 TOP=../..
 include $(TOP)/mk/boilerplate.mk
@@ -8,6 +8,8 @@ HS_PROG        = genprimopcode
 SRC_HC_OPTS   += -syslib text
 
 # genprimopcode is needed to boot in ghc/compiler...
+ifneq "$(BootingFromHc)" "YES"
 boot :: all
+endif
 
 include $(TOP)/mk/target.mk