From: Anders Mörtberg Date: Sun, 25 Oct 2015 22:28:05 +0000 (-0400) Subject: Temporary fix to the Makefile X-Git-Url: https://git.ak3n.com/?a=commitdiff_plain;h=8433efb30bd3f91e4be861f002a44379933f5c2b;p=cubicaltt.git Temporary fix to the Makefile --- diff --git a/GNUmakefile b/GNUmakefile index 68dd6b6..03a41d7 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -35,6 +35,7 @@ build-Makefile: $(INPUT) $(GRAMMAR_HS_FILES) $(GHC) -M $^ include Makefile + %.hi %.o: %.hs $(GHC) $(GHCOPTIONS) $< @ touch $*.hi $*.o @@ -43,8 +44,10 @@ include Makefile %.hs: %.x alex -g $< -run-bnfc $(GRAMMAR_FILES): Exp.cf +bnfc $(GRAMMAR_FILES): Exp.cf bnfc --haskell -d Exp.cf + alex -g Exp/Lex.x + happy -gca Exp/Par.y @ touch $(GRAMMAR_FILES) TAGS:; hasktags --etags $(INPUT) $(GRAMMAR)