GHC=ghc-6.8.1
GHCPKG=ghc-pjkg

boot:
	make -C engine
	make -C prelude
	make -C ajaxgui

boot-68:
	$(GHC) --make -o hera -fglasgow-exts Main.hs -fth -cpp 


boot-64:
	ghc --make -o hera -fglasgow-exts Main.hs

booti:
	ghci  -fglasgow-exts Main.hs 

subhs:
	perl scripts/hackotherhsfiles \
		PreludeList.hs \
		ImpList.hs \
		Iterator.hs \
		HughesList.hs \
		Library/Data/Queue.hs \
		Library/Prelude.hs \
		Library/GHC/Base.hs 

clean:
	find . -name '*.o' | xargs rm 
	find . -name '*.hi' | xargs rm 
	rm -Rf dist */dist
