summaryrefslogtreecommitdiff
path: root/impl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'impl/Makefile')
-rw-r--r--impl/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/impl/Makefile b/impl/Makefile
index 4a3b558..f056d1f 100644
--- a/impl/Makefile
+++ b/impl/Makefile
@@ -19,13 +19,16 @@ fastest-main: build-dir grammar
$(CPP) main.cpp *.o -o $(BUILD)/main $(OPTIMISED_FLAGS)
grammar: build-dir
- java -jar antlr/antlr-3.4-complete.jar EquationSystem.g
+ java -jar ../antlr/antlr-3.4-complete.jar EquationSystem.g
$(CC) *.c -c -lantrl3c
build-dir:
mkdir -p $(BUILD)
+test: main
+ bash ./test/run ./build/main
+
clean:
rm -rf $(BUILD)
rm -rf *.o *.c *.h *.tokens
- # antlr o, c, h and tokens files
+# antlr o, c, h and tokens files