From 74ec2f9a7070af449cda348a6c9698f6d49dcf3c Mon Sep 17 00:00:00 2001
From: sof <unknown>
Date: Wed, 3 Sep 1997 23:46:56 +0000
Subject: [PATCH] [project @ 1997-09-03 23:46:56 by sof] fixups for mkNativeHdr

---
 ghc/includes/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ghc/includes/Makefile b/ghc/includes/Makefile
index 6e8636e2a96a..7e2a5a6db3ba 100644
--- a/ghc/includes/Makefile
+++ b/ghc/includes/Makefile
@@ -25,6 +25,8 @@ H_CONFIG = config.h
 H_FILES = stgdefs.h rtsdefs.h StgDirections.h StgMachDeps.h error.h \
   ieee-flpt.h gmp.h LLC.h HLC.h
 
+MKDEPENDC_SRCS=mkNativeHdr.c
+
 ALL_FILES = $(DELIT_H_FILES) $(H_FILES)
 ifeq ($(GhcWithNativeCodeGen),YES)
 ALL_FILES += $(TARGETPLATFORM).h
@@ -88,7 +90,7 @@ $(TARGETPLATFORM).h : mkNativeHdr
 #
 mkNativeHdr : $(HLIT) $(HFILES) mkNativeHdr.c
 	$(HC) -c mkNativeHdr.c
-	$(CC) $(CFLAGS) -o mkNativeHdr mkNativeHdr.c
+	$(HC) -o mkNativeHdr mkNativeHdr.o
 
 all :: $(H_CONFIG) $(ALL_FILES)
 
-- 
GitLab