Revert my previous changes to GNUMakefile and add -dep-suffix to the build-Makefile...
authorAnders Mörtberg <andersmortberg@gmail.com>
Mon, 26 Oct 2015 02:33:08 +0000 (22:33 -0400)
committerAnders Mörtberg <andersmortberg@gmail.com>
Mon, 26 Oct 2015 02:33:08 +0000 (22:33 -0400)
GNUmakefile

index e122f650f2b3fba473c378a1e8632427af9d8dc4..abfdb65bc540ddc6a4f0dd5a34830fc4e8a2995f 100644 (file)
@@ -32,7 +32,7 @@ cubical: $(INPUT:.hs=.o) $(GRAMMAR_OBJECT_FILES)
        $(GHC) --make $(GHCOPTIONS) -o cubical Main
 
 build-Makefile: $(INPUT) $(GRAMMAR_HS_FILES)
-       $(GHC) -M $^
+       $(GHC) -M -dep-suffix "" $^
 
 include Makefile
 
@@ -46,8 +46,6 @@ include Makefile
 
 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)