Skip to content
Snippets Groups Projects
Commit ee0cb5b7 authored by Iustin Pop's avatar Iustin Pop
Browse files

Allow overriding the ghc compiler used

… via a GHC make variable.
parent ba9349b8
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,7 @@ HPROGS = hbal hscan hail hspace
HALLPROGS = $(HPROGS) test
HSRCS := $(wildcard Ganeti/HTools/*.hs) $(wildcard Ganeti/*.hs)
HDDIR = apidoc
GHC := ghc
DOCS = README.html NEWS.html
......@@ -15,7 +16,7 @@ HPCEXCL = --exclude Main --exclude Ganeti.HTools.QC
all: $(HPROGS)
$(HALLPROGS): %: %.hs Ganeti/HTools/Version.hs $(HSRCS) Makefile
ghc --make $(HFLAGS) $(HEXTRA) $@
$(GHC) --make $(HFLAGS) $(HEXTRA) $@
test: HEXTRA=-fhpc -Wwarn
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment