diff options
Diffstat (limited to 'utils/genprimopcode/Makefile')
-rw-r--r-- | utils/genprimopcode/Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/utils/genprimopcode/Makefile b/utils/genprimopcode/Makefile new file mode 100644 index 0000000000..dbd69f6d42 --- /dev/null +++ b/utils/genprimopcode/Makefile @@ -0,0 +1,19 @@ +TOP=../.. +include $(TOP)/mk/boilerplate.mk + +HS_PROG = genprimopcode + +ifeq "$(ghc_ge_504)" "NO" +SRC_HC_OPTS += -package text +endif + +ifeq "$(ghc_ge_602)" "YES" +SRC_HC_OPTS += -package parsec +endif + +# genprimopcode is needed to boot in ghc/compiler... +ifneq "$(BootingFromHc)" "YES" +boot :: all +endif + +include $(TOP)/mk/target.mk |