File: Makefile

package info (click to toggle)
haskell-bloomfilter 2.0.1.2-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 200 kB
  • sloc: ansic: 852; haskell: 709; makefile: 13
file content (15 lines) | stat: -rw-r--r-- 238 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
hc := ghc
hcflags := --make -O2 -fvia-C -optc-O2

examples := words spellchecker

all: $(examples)

words: Words.hs
	$(hc) $(hcflags) -o $@ $^

spellchecker: SpellChecker.hs
	$(hc) $(hcflags) -o $@ $^

clean:
	-rm -f *.hi *.o $(examples)