packages feed

cmonad-0.1.0.0: examples/Makefile

GHC=ghc
GHCFLAGS= -O --make -i../src -odir build -hidir build

run:	Inf.run QSort.run

build:
	mkdir -p build

Inf.run:	Inf.exe
	./Inf.exe

Inf.exe:	build Inf.hs
	$(GHC) $(GHCFLAGS) -main-is Inf.main Inf.hs -o Inf.exe

QSort.run:	QSort.exe
	./QSort.exe

QSort.exe:	build QSort.hs
	$(GHC) $(GHCFLAGS) -main-is QSort.main QSort.hs -o QSort.exe

clean:
	rm -rf *.exe* build