[project @ 1997-03-14 08:02:40 by simonpj]
[nofib.git] / mk / boilerplate.mk
1 #################################################################################
2 #
3 # nofib/mk/boilerplate.mk
4 #
5 # Boilerplate Makefile for an fptools project
6 #
7 #################################################################################
8
9 # Begin by slurping in the boilerplate from one level up,
10 # with standard TOP-mangling
11 # Remember, TOP is the top level of the innermost level
12 # ( FPTOOLS_TOP, which will be set while processing
13 # toplevel boilerplate, is the fptools top )
14
15 NOFIB_TOP := $(TOP)
16 TOP := $(TOP)/..
17 include $(TOP)/mk/boilerplate.mk
18 TOP:=$(NOFIB_TOP)
19
20
21 # -----------------------------------------------------------------
22 # Everything after this point
23 # augments or overrides previously set variables.
24 # (these files are optional, so `make' won't fret if it
25 # cannot get to them).
26 # -----------------------------------------------------------------
27
28 WAYS=$(NoFibWays)
29
30 SRC_HC_OPTS += $(NoFibHcOpts) -Rghc-timing
31
32 include $(NOFIB_TOP)/mk/paths.mk
33 include $(NOFIB_TOP)/mk/opts.mk
34 include $(NOFIB_TOP)/mk/suffix.mk