~ubuntu-branches/ubuntu/precise/haskell-text/precise

« back to all changes in this revision

Viewing changes to tests/benchmarks/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Joachim Breitner
  • Date: 2011-04-13 11:38:29 UTC
  • mfrom: (4.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20110413113829-f4ss61ivg720e5bu
Tags: 0.11.0.6-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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)
 
5
ghc := ghc
 
6
 
 
7
all := FileRead FileRead_prof Replace Replace_prof fileread_c
 
8
 
 
9
all: $(all)
 
10
 
 
11
%: %.hs
 
12
        $(ghc) -O --make -o $@ $^
 
13
 
 
14
%_prof: %.hs
 
15
        $(ghc) -prof -auto-all -O --make -o $@ $^
 
16
 
 
17
clean:
 
18
        -rm -f *.hi *.o $(all)