Commit 299b503c authored by Sebastian Ramacher's avatar Sebastian Ramacher

separate targets to build and run tests

parent c39c81c3
......@@ -75,7 +75,7 @@ gdb: debug
cgdb ${PROJECT}-debug
tests: ${OBJECTS}
$(QUIET)make -C tests
$(QUIET)make -C tests run
dist: clean
$(QUIET)mkdir -p ${PROJECT}-${VERSION}
......
......@@ -21,7 +21,7 @@ ZSOURCE += ../database-plain.c
endif
endif
all: ${PROJECT} run
all: ${PROJECT}
run: ${PROJECT}
$(QUIET)./${PROJECT}
......@@ -48,6 +48,6 @@ ${OBJECTS}: ../config.mk
clean:
$(QUIET)rm -rf ${OBJECTS} ${PROJECT} *.gcno *.gcda
.PHONY: all options clean debug
.PHONY: all options clean debug run
-include $(wildcard .depend/*.dep)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment