summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsewardj <unknown>1999-12-01 10:56:25 +0000
committersewardj <unknown>1999-12-01 10:56:25 +0000
commitd32a066ec56b3af9b9048e12eef63a1e4bb0fc85 (patch)
tree62883329fda1312dafd45cf7d46c4c7b202c1ff3
parent84ece4ab29a5e6fa9c3a3826dce1520785c4ceec (diff)
downloadhaskell-d32a066ec56b3af9b9048e12eef63a1e4bb0fc85.tar.gz
[project @ 1999-12-01 10:56:25 by sewardj]
Add rules so library sources can be obtained from fptools/hslibs.
-rw-r--r--ghc/interpreter/lib/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/ghc/interpreter/lib/Makefile b/ghc/interpreter/lib/Makefile
index 5f274be884..9d192f4dc1 100644
--- a/ghc/interpreter/lib/Makefile
+++ b/ghc/interpreter/lib/Makefile
@@ -1,5 +1,5 @@
# -------------------------------------------------------------------------- #
-# $Id: Makefile,v 1.3 1999/11/24 17:25:14 sewardj Exp $
+# $Id: Makefile,v 1.4 1999/12/01 10:56:25 sewardj Exp $
# -------------------------------------------------------------------------- #
TOP = ../..
@@ -21,6 +21,13 @@ HUGSCPP = ../../utils/hscpp/hscpp -D__HUGS__ -DUSE_REPORT_PRELUDE
%.lhs :: $(GHC_LIB_DIR)/exts/%.lhs
$(HUGSCPP) -I../../includes $< > $*.lhs
+%.lhs :: $(FPTOOLS_TOP)/hslibs/text/%.lhs
+ $(HUGSCPP) -I../../includes $< > $*.lhs
+%.lhs :: $(FPTOOLS_TOP)/hslibs/util/%.lhs
+ $(HUGSCPP) -I../../includes $< > $*.lhs
+%.lhs :: $(FPTOOLS_TOP)/hslibs/lang/%.lhs
+ $(HUGSCPP) -I../../includes $< > $*.lhs
+
CLEAN_FILES += $(LIBS)
include $(TOP)/mk/target.mk