on master help sign in
Make ghc overridable when testing

--HG-- extra : convert_revision : bacaab90a8d2320bd7157bb6fcd35fd707c1bab9

commit814558dfef98fe9f1ace276f55c11875c49b4d41 authorBryan O'Sullivan <bos@serpentine.com> dateWed 8 Sep 2010, 02:29 (16 years ago) parente8ed4fa
1 file changed+3−2
tests/benchmarks/Makefile+3−2
tests/benchmarks/Makefile+3−2
@@ -2,16 +2,17 @@ CC := $(shell icu-config --cc)
22CFLAGS := -g $(shell icu-config --cflags)
33CPPFLAGS := $(shell icu-config --cppflags)
44LDFLAGS := $(CFLAGS) $(shell icu-config --ldflags --ldflags-icuio)
5+ghc := ghc
56
67all := FileRead FileRead_prof fileread_c
78
89all: $(all)
910
1011%: %.hs
11− ghc -O --make -o $@ $^
12+ $(ghc) -O --make -o $@ $^
1213
1314%_prof: %.hs
14− ghc -prof -auto-all -O --make -o $@ $^
15+ $(ghc) -prof -auto-all -O --make -o $@ $^
1516
1617clean:
1718 -rm -f *.hi *.o $(all)