summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ast-to-instr/Makefile')
-rw-r--r--ast-to-instr/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/ast-to-instr/Makefile b/ast-to-instr/Makefile
index 59bc9bb..f09cae1 100644
--- a/ast-to-instr/Makefile
+++ b/ast-to-instr/Makefile
@@ -18,12 +18,13 @@ CLASSES = $(SOURCES:.java=.class)
## Makefile Rules ##############################################################
-all: $(CLASSES)
+all: structural.mod
clean:
rm -f $(CLASSES)
+ rm -f *.mod
-run: $(CLASSES) $(REQUIRED_JARS)
+structural.mod: $(CLASSES) $(REQUIRED_JARS) $(INPUT_FILE)
$(JAVA) -cp $(CLASSPATH) Main $(INPUT_FILE)
%.class: %.java $(REQUIRED_JARS)