]> ruin.nu Git - proglang.git/blobdiff - Makefile
adding compiler
[proglang.git] / Makefile
index f662112e8f88a49689dd97c0a3f07f7a54dc3a77..24f8a623b51038738dda35bb8bebd26fcb382b52 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-all: Typechecker Interpreter
+all: Typechecker Interpreter Compiler
 
 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