home *** CD-ROM | disk | FTP | other *** search
/ ftp.ee.pdx.edu / 2014.02.ftp.ee.pdx.edu.tar / ftp.ee.pdx.edu / pub / users / Harry / compilers / p11 / makefile < prev    next >
Makefile  |  2006-03-01  |  1KB  |  58 lines

  1. #
  2. # Type 'make' with this 'makefile' file in your current directory to compile
  3. # the components of the PCAT compiler.
  4. #
  5.  
  6. JJ=javac
  7. JFLAGS=
  8.  
  9. all: Main.class
  10.  
  11. # Lexer.class: Lexer.java
  12. #     $(JJ) $(JFLAGS) Lexer.java
  13.  
  14. StringTable.class: StringTable.java
  15.     $(JJ) $(JFLAGS) StringTable.java
  16.  
  17. Token.class: Token.java
  18.     $(JJ) $(JFLAGS) Token.java
  19.  
  20. FatalError.class: FatalError.java
  21.     $(JJ) $(JFLAGS) FatalError.java
  22.  
  23. LogicError.class: LogicError.java
  24.     $(JJ) $(JFLAGS) LogicError.java
  25.  
  26. # Parser.class: Parser.java
  27. #     $(JJ) $(JFLAGS) Parser.java
  28.  
  29. Ast.class: Ast.java
  30.     $(JJ) $(JFLAGS) Ast.java
  31.  
  32. PrintAst.class: PrintAst.java
  33.     $(JJ) $(JFLAGS) PrintAst.java
  34.  
  35. PrettyPrint.class: PrettyPrint.java
  36.     $(JJ) $(JFLAGS) PrettyPrint.java
  37.  
  38. SymbolTable.class: SymbolTable.java
  39.     $(JJ) $(JFLAGS) SymbolTable.java
  40.  
  41. # Checker.class: Checker.java
  42. #     $(JJ) $(JFLAGS) Checker.java
  43.  
  44. IR.class: IR.java
  45.     $(JJ) $(JFLAGS) IR.java
  46.  
  47. Generator.class: Generator.java
  48.     $(JJ) $(JFLAGS) Generator.java
  49.  
  50. Peephole.class: Peephole.java
  51.     $(JJ) $(JFLAGS) Peephole.java
  52.  
  53. Emit.class: Emit.java
  54.     $(JJ) $(JFLAGS) Emit.java
  55.  
  56. Main.class: Main.java Lexer.class StringTable.class Token.class FatalError.class LogicError.class Parser.class Ast.class PrintAst.class PrettyPrint.class SymbolTable.class Checker.class IR.class Generator.class Peephole.java Emit.java
  57.     $(JJ) $(JFLAGS) Main.java
  58.