[project @ 1998-03-05 13:12:16 by sof]
[ghc-hetmet.git] / ghc / mk / target.mk
1 #
2 # target.mk project stub
3 #
4
5 # We need to set TOP to be the TOP that the next level up expects!
6 # The TOP variable is reset after the inclusion of the fptools
7 # boilerplate, so we stash TOP away first:
8 GHC_TOP := $(TOP)
9 TOP:=$(TOP)/..
10
11 # When booting from .hc files, remove the suffix rule for 
12 # .l?hs -> .o, so that the .hc -> .o is used instead.
13 ifeq "$(GhcWithHscBuiltViaC)" "YES"
14 %.$(way_)o : %.lhs
15 %.$(way_)o : %.hs
16 endif
17
18 include $(TOP)/mk/target.mk
19
20 # Reset TOP
21 TOP:=$(GHC_TOP)