@@ -3,12 +3,15 @@ CFLAGS := -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)
6−all := FileRead fileread_c
6+all := FileRead FileRead_prof fileread_c
11 ghc -O --make -o $@ $^
11 ghc -O --make -o $@ $^
14+ ghc -prof -auto-all -O --make -o $@ $^
14 -rm -f *.hi *.o $(all)
17 -rm -f *.hi *.o $(all)