separate targets to build and run tests

This commit is contained in:
Sebastian Ramacher 2012-02-21 19:05:35 +01:00
parent c39c81c3d6
commit 299b503c00
2 changed files with 3 additions and 3 deletions

View file

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

View file

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