updates to project Makefile regarding #10

This commit is contained in:
Pedro 2015-08-28 13:46:07 +02:00
parent 447197f62e
commit 770b76d354
1 changed files with 9 additions and 2 deletions

View File

@ -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