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 / p3 / makefile < prev    next >
Makefile  |  2005-10-19  |  663b  |  31 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. Main.class: Main.java Lexer.class StringTable.class Token.class FatalError.class LogicError.class Parser.class
  30.     $(JJ) $(JFLAGS) Main.java
  31.