1
CC := $(shell icu-config --cc)
2
CFLAGS := -g $(shell icu-config --cflags)
3
CPPFLAGS := $(shell icu-config --cppflags)
4
LDFLAGS := $(CFLAGS) $(shell icu-config --ldflags --ldflags-icuio)
7
all := FileRead FileRead_prof Replace Replace_prof fileread_c
12
$(ghc) -O --make -o $@ $^
15
$(ghc) -prof -auto-all -O --make -o $@ $^
18
-rm -f *.hi *.o $(all)