X-Git-Url: https://ruin.nu/git/?p=proglang.git;a=blobdiff_plain;f=Makefile;h=b6815c2f1a4339c40837cb76e73659ee345d3bf5;hp=5a3fb4ec64d64efa86cad1a20a15e5ea6e024677;hb=HEAD;hpb=de34a0eeb75a54ce9ae058797327cd5ddc853ecc diff --git a/Makefile b/Makefile index 5a3fb4e..b6815c2 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,6 @@ -all: Docsyntax.dvi Testsyntax Typechecker +all: CompInt + +doc: Docsyntax.dvi Docsyntax.dvi: Docsyntax.tex latex Docsyntax.tex; dvips Docsyntax.dvi -o Docsyntax.ps @@ -9,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