projects
/
cubicaltt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0493c5
)
Temporary fix to the Makefile
author
Anders Mörtberg
<andersmortberg@gmail.com>
Sun, 25 Oct 2015 22:28:05 +0000
(18:28 -0400)
committer
Anders Mörtberg
<andersmortberg@gmail.com>
Sun, 25 Oct 2015 22:28:05 +0000
(18:28 -0400)
GNUmakefile
patch
|
blob
|
blame
|
history
diff --git
a/GNUmakefile
b/GNUmakefile
index 68dd6b6226c917e1b894f8c7d3864164de71c8bc..03a41d70edb0294471bc9ba4e4ef5e569327042b 100644
(file)
--- 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)