Use -Wall for compilation of genprimopcode
[ghc-hetmet.git] / utils / genprimopcode / Makefile
1 TOP=../..
2 include $(TOP)/mk/boilerplate.mk
3
4 HS_PROG = genprimopcode
5
6 SRC_HC_OPTS += -Wall
7
8 ifeq "$(ghc_ge_504)" "NO"
9 SRC_HC_OPTS += -package text
10 endif
11
12 ifeq "$(ghc_ge_602)" "YES"
13 SRC_HC_OPTS += -package parsec
14 endif
15
16 # genprimopcode is needed to boot in ghc/compiler...
17 ifneq "$(BootingFromHc)" "YES"
18 boot :: all
19 endif
20
21 include $(TOP)/mk/target.mk