]> ruin.nu Git - proglang.git/blobdiff - Makefile
Interpreter works
[proglang.git] / Makefile
index f662112e8f88a49689dd97c0a3f07f7a54dc3a77..e013775c883f8ec880573016e418e397c73d2973 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-all: Typechecker Interpreter
+all: Testsyntax Typechecker Interpreter
 
 doc: Docsyntax.dvi
 
@@ -14,6 +14,9 @@ Typechecker: Typechecker.hs  Typecheck.hs Parsyntax.hs Lexsyntax.hs Abssyntax.hs
 Interpreter: Interpreter.hs Interpret.hs Typecheck.hs Parsyntax.hs Lexsyntax.hs Abssyntax.hs
        ghc -fglasgow-exts --make Interpreter.hs -o Interpreter
 
+Compiler: Compiler.hs Compile.hs Typecheck.hs Parsyntax.hs Lexsyntax.hs Abssyntax.hs
+       ghc -fglasgow-exts --make Compiler.hs -o Compiler
+
 Parsyntax.hs: Parsyntax.y
        happy -gca -idebug Parsyntax.y