From 8f50e4d189bad9dbd180fd945881950769c3a989 Mon Sep 17 00:00:00 2001 From: jwansek Date: Sun, 24 Oct 2021 14:07:29 +0100 Subject: added the start of a type system --- code/simpleSableCCCalulator/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 code/simpleSableCCCalulator/Makefile (limited to 'code/simpleSableCCCalulator/Makefile') diff --git a/code/simpleSableCCCalulator/Makefile b/code/simpleSableCCCalulator/Makefile new file mode 100644 index 0000000..7c6962b --- /dev/null +++ b/code/simpleSableCCCalulator/Makefile @@ -0,0 +1,8 @@ +all: + javac sableCCCalculator/*.java + javac sableCCCalculator/types/*.java + + +clean: + rm -vf sableCCCalculator/*.class + rm -vf sableCCCalculator/types/*class -- cgit v1.2.3 From 3b85d64206d232d12864ec46a8b8d42fe6b464bb Mon Sep 17 00:00:00 2001 From: jwansek Date: Sun, 24 Oct 2021 16:08:45 +0100 Subject: updated readme and makefile --- code/simpleSableCCCalulator/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'code/simpleSableCCCalulator/Makefile') diff --git a/code/simpleSableCCCalulator/Makefile b/code/simpleSableCCCalulator/Makefile index 7c6962b..477422b 100644 --- a/code/simpleSableCCCalulator/Makefile +++ b/code/simpleSableCCCalulator/Makefile @@ -1,4 +1,5 @@ all: + java -jar ../../../sablecc-3.7/lib/sablecc.jar sableCCCalculator.grammar javac sableCCCalculator/*.java javac sableCCCalculator/types/*.java @@ -6,3 +7,7 @@ all: 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/ -- cgit v1.2.3