[project @ 2005-03-27 13:41:13 by panne]
[ghc-hetmet.git] / ghc / includes / Makefile
index df18523..8d9e044 100644 (file)
@@ -1,6 +1,4 @@
 # -----------------------------------------------------------------------------
-# $Id: Makefile,v 1.26 2005/01/28 12:55:51 simonmar Exp $
-#
 
 TOP = ..
 include $(TOP)/mk/boilerplate.mk
@@ -110,8 +108,6 @@ CLEAN_FILES += mkDerivedConstantsHdr$(exeext) DerivedConstants.h
 
 all :: GHCConstants.h
 
-mkGHCConstants.c : $(H_CONFIG)
-
 mkGHCConstants : mkGHCConstants.o
        $(CC) -o $@ $(CC_OPTS) $(LD_OPTS) mkGHCConstants.o
 
@@ -121,7 +117,7 @@ mkGHCConstants.o : mkDerivedConstants.c
 GHCConstants.h : mkGHCConstants
        ./mkGHCConstants >$@
 
-CLEAN_FILES += mkDerivedConstantsHdr$(exeext) DerivedConstants.h
+CLEAN_FILES += mkGHCConstants$(exeext) GHCConstants.h
 
 # ---------------------------------------------------------------------------
 # boot setup:
@@ -140,12 +136,12 @@ boot :: all
 # it gives (perhaps) a cleaner binary dist structure..might change.
 #
 override datadir:=$(libdir)/include
-INSTALL_DATAS += $(H_FILES) $(H_CONFIG)
+INSTALL_DATAS += $(H_FILES) $(H_CONFIG) $(H_PLATFORM)
 
 #
 # `make clean' settings:
 #
-CLEAN_FILES += $(H_CONFIG)
+CLEAN_FILES += $(H_CONFIG) $(H_PLATFORM)
 
 #
 # Finally, slurp in the standard targets.