.PHONY: all bnfc lab3 clean distclean all: bnfc lab3 bnfc: bnfc CPP.cf happy -gca ParCPP.y alex -g LexCPP.x lab3: ghc --make lab3.hs -o lab3 clean: -rm -f lab3 -rm -f *.log *.aux *.hi *.o *.dvi -rm -f DocCPP.ps distclean: clean -rm -f DocCPP.* LexCPP.* ParCPP.* LayoutCPP.* SkelCPP.* PrintCPP.* TestCPP.* AbsCPP.* TestCPP ErrM.* SharedString.* CPP.dtd XMLCPP.*