From 770b76d35424d843f734041b8b9fd5b4f78a0a0c Mon Sep 17 00:00:00 2001 From: Pedro Date: Fri, 28 Aug 2015 13:46:07 +0200 Subject: [PATCH] updates to project Makefile regarding #10 --- Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4f1f177..9aedadd 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,22 @@ + test: FORCE - @echo "Compiling..." + @echo "\nCompiling the SQL parser and the tests...\n" @make clean -C src/ >/dev/null || exit 1 @make tests -C src/ >/dev/null || exit 1 @make grammar_test -C src/ >/dev/null || exit 1 - @echo "Running tests:" + @echo "Running tests..." @./bin/grammar_test -f "src/tests/valid_queries.sql" @./bin/tests +build: FORCE + @echo "\nBuilding the SQL parser... (Run tests with 'make test')" + @echo "Build directory: build/\n" + make -C src/ + + docs: FORCE doxygen docs/doxy.conf