[project @ 1996-12-18 18:42:48 by dnt]
[ghc-hetmet.git] / ghc / compiler / Makefile
index bb458ba..cafc24a 100644 (file)
@@ -1,5 +1,5 @@
 # -----------------------------------------------------------------------------
-# $Id: Makefile,v 1.2 1996/11/21 16:46:32 simonm Exp $
+# $Id: Makefile,v 1.4 1996/12/18 18:42:48 dnt Exp $
 
 TOP = ../..
 FlexSuffixRules = YES
@@ -153,6 +153,25 @@ rename/ParseIface.hs : rename/ParseIface.y
        @chmod 444 rename/ParseIface.hs
 
 # ----------------------------------------------------------------------------
+# Special extra dependencies for yukky ugen stuff
+
+hspincl.h : $(UGNH)
+parser/UgenAll.o : parser/hspincl.h
+parser/UgenUtil.o : parser/hspincl.h
+parser/U_constr.o : parser/hspincl.h
+parser/U_binding.o : parser/hspincl.h
+parser/U_pbinding.o : parser/hspincl.h
+parser/U_entidt.o : parser/hspincl.h
+parser/U_list.o : parser/hspincl.h
+parser/U_literal.o : parser/hspincl.h
+parser/U_maybe.o : parser/hspincl.h
+parser/U_either.o : parser/hspincl.h
+parser/U_qid.o : parser/hspincl.h
+parser/U_tree.o : parser/hspincl.h
+parser/U_ttype.o : parser/hspincl.h
+reader/ReadPrefix.o : parser/hspincl.h
+
+# ----------------------------------------------------------------------------
 # Special flags for particular modules
 
 absCSyn/AbsCSyn_flags          = -fno-omit-reexported-instances
@@ -195,6 +214,8 @@ utils/SST_flags             = -fvia-C
 #-----------------------------------------------------------------------------
 # make depend, clean, tags and install
 
+depend :: $(LOOPS)
+
 MKDEPENDHSFLAGS = -f .depend -I../includes -x HsVersions.h
 ifeq ($(GhcWithDeforester),NO)
   MKDEPENDHSFLAGS += -DOMIT_DEFORESTER