From 8433efb30bd3f91e4be861f002a44379933f5c2b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Anders=20M=C3=B6rtberg?= Date: Sun, 25 Oct 2015 18:28:05 -0400 Subject: [PATCH] Temporary fix to the Makefile --- GNUmakefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) -- 2.34.1