diff options
| author | J08nY | 2017-10-04 21:56:34 +0200 |
|---|---|---|
| committer | J08nY | 2017-10-04 22:00:13 +0200 |
| commit | c70bd55c8f75af9c6bcb8c4b0bc4707dd871cd22 (patch) | |
| tree | 9b15f4ad1a20bcefe5e2bc15db1bf6b4a0750597 /src | |
| parent | 8db692cee5f6b6220fd3842c899a645183d29069 (diff) | |
| download | ecgen-c70bd55c8f75af9c6bcb8c4b0bc4707dd871cd22.tar.gz ecgen-c70bd55c8f75af9c6bcb8c4b0bc4707dd871cd22.tar.zst ecgen-c70bd55c8f75af9c6bcb8c4b0bc4707dd871cd22.zip | |
Fix travis releasing a binary wit coverage.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile index 34be0ac..65b0135 100644 --- a/src/Makefile +++ b/src/Makefile @@ -11,9 +11,9 @@ CFLAGS = -Wall DEBUG ?= 0 TEST ?= 0 ifeq ($(DEBUG), 1) - CFLAGS += -DDEBUG -g -Werror -pedantic + CFLAGS += -DDEBUG -g -Werror -pedantic else ifeq ($(TEST), 1) - CFLAGS += --coverage -g -O0 + CFLAGS += --coverage -g -O0 else CFLAGS += -DNDEBUG -O3 endif @@ -50,12 +50,14 @@ econvert: econvert.o $(ECONVERT_OBJ) #### -clean-all: clean +clean-all: clean clean-cov rm -f ../ecgen rm -f ../econvert clean: find . -type f -name '*.o' -exec rm {} + + +clean-cov: find . -type f -name '*.gcda' -exec rm {} + find . -type f -name '*.gcno' -exec rm {} + find . -type f -name '*.gcov' -exec rm {} + |
