# this is an example makefile for project0 # rule "group" is to print out group member information group: echo "Jon Miller, Joe Morgan" # rule "compiler" is to build your compiler # if you are using c,c++ name the resulting binary as "micro" # if you are using java write a separate script file named "micro" to run your actual compiler # "micro" would look like, "java MicroCompiler $@" if MicroCompiler.class is you compiler # if you have files "lexer.c" and "parser.c" compiler: gcc -o micro lexer.c parser.c # ir you are using java and have files named "MicroCompiler.java Lexer.java Parser.java" # it would be like #compiler: # javac MicroCompiler.java Lexer.java Parser.java # # rule "clean" is to remove files created during your build process clean: rm micro lexer.o parser.o # for java #clean: # rm MicroCompiler.class Lexer.class Parser.class # let me know if you are planning on using other languages like C#