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