File: Makefile

package info (click to toggle)
haskell-json 0.11-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 304 kB
  • sloc: haskell: 1,517; makefile: 15
file content (17 lines) | stat: -rw-r--r-- 336 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
ODIR=.ghc

$(ODIR):
	mkdir $(ODIR)

all: $(ODIR)
	ghc -cpp -O QC.hs --make -o QC -no-recomp -i.. -odir=$(ODIR) -hidir=$(ODIR)
	time ./QC
	runhaskell -i.. HUnit.hs

generic:	$(ODIR)
	ghc -i.. --make -fforce-recomp -odir=$(ODIR) -hidir=$(ODIR) GenericTest.hs -o GenericTest
	./GenericTest

clean:
	$(RM) -r $(ODIR)
	$(RM) *.html *.tix QC