HyriseSQLParser/Makefile

25 lines
475 B
Makefile
Raw Normal View History

2014-12-15 18:32:46 +01:00
2014-12-18 12:11:26 +01:00
test: FORCE
@echo "\nCompiling the SQL parser and the tests...\n"
2014-12-15 18:32:46 +01:00
@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..."
@./bin/grammar_test -f "src/tests/valid_queries.sql"
2014-12-15 18:32:46 +01:00
@./bin/tests
build: FORCE
@echo "\nBuilding the SQL parser... (Run tests with 'make test')"
@echo "Build directory: build/\n"
make -C src/
2014-12-15 18:32:46 +01:00
docs: FORCE
doxygen docs/doxy.conf
2014-12-18 12:11:26 +01:00
FORCE: