]> ruin.nu Git - proglang.git/blobdiff - Makefile
minor change
[proglang.git] / Makefile
index cd6c0826fe51507d9d2868ab83f838d262a1d9d1..b6815c2f1a4339c40837cb76e73659ee345d3bf5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-all: Typechecker
+all: CompInt
 
 doc: Docsyntax.dvi
 
@@ -11,6 +11,15 @@ Testsyntax: Testsyntax.hs  Parsyntax.hs Lexsyntax.hs Abssyntax.hs
 Typechecker: Typechecker.hs  Typecheck.hs Parsyntax.hs Lexsyntax.hs Abssyntax.hs
        ghc -fglasgow-exts --make Typechecker.hs -o Typechecker
 
+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
+
+CompInt: CompInt.hs Compile.hs Interpret.hs Typecheck.hs Parsyntax.hs Lexsyntax.hs Abssyntax.hs
+       ghc -fglasgow-exts --make CompInt.hs -o CompInt
+
 Parsyntax.hs: Parsyntax.y
        happy -gca -idebug Parsyntax.y