summaryrefslogtreecommitdiffstats
path: root/code/simpleSableCCCalulator/Makefile
diff options
context:
space:
mode:
authorAidenRushbrooke <72034940+AidenRushbrooke@users.noreply.github.com>2021-10-25 16:57:36 +0100
committerAidenRushbrooke <72034940+AidenRushbrooke@users.noreply.github.com>2021-10-25 16:57:36 +0100
commit69b0ad07bac30beca1397ff187468e7597203c44 (patch)
treef125c988f73e2f16bef2a1f145994bc827b0d418 /code/simpleSableCCCalulator/Makefile
parent74c5732bded6695eed3aabf125a888fbdf206a40 (diff)
parentaa3a6929584eaa63cafb73353a62effd75d4dd8c (diff)
downloadesotericFORTRAN-69b0ad07bac30beca1397ff187468e7597203c44.tar.gz
esotericFORTRAN-69b0ad07bac30beca1397ff187468e7597203c44.zip
Merge branch 'main' of https://github.com/AlfieEagleton/EsotericProject
Diffstat (limited to 'code/simpleSableCCCalulator/Makefile')
-rw-r--r--code/simpleSableCCCalulator/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/code/simpleSableCCCalulator/Makefile b/code/simpleSableCCCalulator/Makefile
new file mode 100644
index 0000000..477422b
--- /dev/null
+++ b/code/simpleSableCCCalulator/Makefile
@@ -0,0 +1,13 @@
+all:
+ java -jar ../../../sablecc-3.7/lib/sablecc.jar sableCCCalculator.grammar
+ javac sableCCCalculator/*.java
+ javac sableCCCalculator/types/*.java
+
+
+clean:
+ rm -vf sableCCCalculator/*.class
+ rm -vf sableCCCalculator/types/*class
+ rm -rfv sableCCCalculator/analysis/
+ rm -rfv sableCCCalculator/lexer/
+ rm -rfv sableCCCalculator/node/
+ rm -rvf sableCCCalculator/parser/