@@ -2,16 +2,17 @@ CC := $(shell icu-config --cc)
2CFLAGS := -g $(shell icu-config --cflags)
2CFLAGS := -g $(shell icu-config --cflags)
3CPPFLAGS := $(shell icu-config --cppflags)
3CPPFLAGS := $(shell icu-config --cppflags)
4LDFLAGS := $(CFLAGS) $(shell icu-config --ldflags --ldflags-icuio)
4LDFLAGS := $(CFLAGS) $(shell icu-config --ldflags --ldflags-icuio)
6all := FileRead FileRead_prof fileread_c
7all := FileRead FileRead_prof fileread_c
11− ghc -O --make -o $@ $^
12+ $(ghc) -O --make -o $@ $^
13%_prof: %.hs
14%_prof: %.hs
14− ghc -prof -auto-all -O --make -o $@ $^
15+ $(ghc) -prof -auto-all -O --make -o $@ $^
17 -rm -f *.hi *.o $(all)
18 -rm -f *.hi *.o $(all)