summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorCarlos Maniero <carlosmaniero@gmail.com>2023-04-18 21:19:32 -0300
committerJohnny Richard <johnny@johnnyrichard.com>2023-04-19 17:45:01 +0200
commit547643d357aadfcb402ec9b951e23975da8593cc (patch)
tree5dee0bfc4aa84d2ace8dedbe5b18e917148ddb6a /test/Makefile
parentd3f95217176019fe210e931fe96e9dbbd98661b6 (diff)
tests: Include parser_parse_function test
Signed-off-by: Carlos Maniero <carlosmaniero@gmail.com> Reviewed-by: Johnny Richard <johnny@johnnyrichard.com>
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/Makefile b/test/Makefile
index 51ece02..3845b92 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -14,8 +14,11 @@ all: munit.o $(TESTS)
clean:
$(RM) *.o *_test
-string_view_test: munit.o string_view_test.o ../build/string_view.o
+string_view_test: munit.o ../build/string_view.o string_view_test.o
$(CC) $? $(CFLAGS) -o $@
-lexer_test: munit.o lexer_test.o ../build/lexer.o ../build/string_view.o
+lexer_test: munit.o ../build/string_view.o ../build/lexer.o lexer_test.o
+ $(CC) $? $(CFLAGS) -o $@
+
+parser_test: munit.o ../build/string_view.o ../build/lexer.o ../build/ast.o ../build/parser.o parser_test.o
$(CC) $? $(CFLAGS) -o $@