Commit 9f201152 authored by reid's avatar reid
Browse files

[project @ 1997-08-22 16:13:00 by reid]

Added suffix rules, option variables, etc for greencard
parent ba389ead
......@@ -464,6 +464,7 @@ INFO_PREFIX = $(FPTOOLS_TOP)/literate/info-utils/
TEXI2HTML_PREFIX = $(LITERATE_PREFIX)texi2html/
HAPPY_PREFIX = $(FPTOOLS_TOP)/happy/src/
GREENCARD_PREFIX = $(FPTOOLS_TOP)/green-card/src/
UNLIT_PREFIX = $(FPTOOLS_TOP)/ghc/utils/unlit/
UGEN_PREFIX = $(FPTOOLS_TOP)/ghc/utils/ugen/
......@@ -603,6 +604,7 @@ VERBATIM = $(VERBATIM_PREFIX)verbatim
RUNTEST = $(RUNTEST_PREFIX)runstdtest
HAPPY = @HappyCmd@
LX = @LxCmd@
GREENCARD = @GreencardCmd@
ifeq "$(HAPPY)" ""
HAPPY = $(HAPPY_PREFIX)happy
......
......@@ -5,7 +5,7 @@
# This file defines Make variables for the
# option flags for each utility program
#
# $Id: opts.mk,v 1.2 1997/03/23 22:31:29 sof Exp $
# $Id: opts.mk,v 1.3 1997/08/22 16:13:01 reid Exp $
#
#################################################################################
......@@ -94,6 +94,7 @@ CTAGS_OPTS = $(SRC_CTAGS_OPTS) $(WAY$(_way)_CTAGS_OPTS) $(EXTRA_CTAGS_OP
CC_OPTS = $(SRC_CC_OPTS) $(WAY$(_way)_CC_OPTS) $($*_CC_OPTS) $(EXTRA_CC_OPTS)
FLEX_OPTS = $(SRC_FLEX_OPTS) $(WAY$(_way)_FLEX_OPTS) $(EXTRA_FLEX_OPTS)
HAPPY_OPTS = $(SRC_HAPPY_OPTS) $(WAY$(_way)_HAPPY_OPTS) $($*_HAPPY_OPTS) $(EXTRA_HAPPY_OPTS)
GREENCARD_OPTS = $(SRC_GREENCARD_OPTS) $(WAY$(_way)_GREENCARD_OPTS) $($*_GREENCARD_OPTS) $(EXTRA_GREENCARD_OPTS)
HSTAGS_OPTS = $(SRC_HSTAGS_OPTS) $(WAY$(_way)_HSTAGS_OPTS) $(EXTRA_HSTAGS_OPTS)
INSTALL_OPTS = $(SRC_INSTALL_OPTS) $(WAY$(_way)_INSTALL_OPTS) $(EXTRA_INSTALL_OPTS)
INSTALL_BIN_OPTS = $(INSTALL_OPTS) $(SRC_INSTALL_BIN_OPTS)
......
......@@ -103,6 +103,13 @@ HASKELL_POST_COMPILE=$(patsubst %,$(HASKELL_SPLIT_POST),$(filter -split-objs,$(H
%.hs : %.lx
$(LX) $(LX_OPTS) $<
#-----------------------------------------------------------------------------
# Green-card Suffix Rules
#
%.hs : %.gc
$(GREENCARD) $(GREENCARD_OPTS) $<
#-----------------------------------------------------------------------------
# C-related suffix rules
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment