on 9c3ebdd help sign in
17 lines 357 B history raw
1CC := $(shell icu-config --cc)
2CFLAGS := -g $(shell icu-config --cflags)
3CPPFLAGS := $(shell icu-config --cppflags)
4LDFLAGS := $(CFLAGS) $(shell icu-config --ldflags --ldflags-icuio)
6all := FileRead FileRead_prof fileread_c
8all: $(all)
10%: %.hs
11 ghc -O --make -o $@ $^
13%_prof: %.hs
14 ghc -prof -auto-all -O --make -o $@ $^
16clean:
17 -rm -f *.hi *.o $(all)