projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make this build with GHC 6.7+
[ghc-hetmet.git]
/
utils
/
nofib-analyse
/
Makefile
diff --git
a/utils/nofib-analyse/Makefile
b/utils/nofib-analyse/Makefile
index
875b956
..
43ae433
100644
(file)
--- a/
utils/nofib-analyse/Makefile
+++ b/
utils/nofib-analyse/Makefile
@@
-4,8
+4,19
@@
include $(TOP)/mk/boilerplate.mk
SRC_HC_OPTS += -fglasgow-exts -cpp -Wall
HS_PROG = nofib-analyse
SRC_HC_OPTS += -fglasgow-exts -cpp -Wall
HS_PROG = nofib-analyse
+ifeq "$(ghc_ge_607)" "YES"
+SRC_HC_OPTS += -package containers
+endif
+
ifeq "$(ghc_ge_605)" "YES"
SRC_HC_OPTS += -package regex-compat -package html
endif
ifeq "$(ghc_ge_605)" "YES"
SRC_HC_OPTS += -package regex-compat -package html
endif
+ifeq "$(ghc_ge_607)" "YES"
+SRC_HC_OPTS += -package containers
+endif
+
+ifeq "$(ghc_ge_607)" "YES"
+SRC_HC_OPTS += -package containers
+endif
include $(TOP)/mk/target.mk
include $(TOP)/mk/target.mk