aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2017-11-05 22:30:51 +0100
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2017-11-10 10:21:54 +0100
commiteae1d3b88df784f241b3a41fb6a03fc2a9a3ec62 (patch)
treee11ec0ef362e8bc9d516f69585857b367375a396 /Makefile
parent211cf0e6479157966b39a56bd5352ee430ef7166 (diff)
downloadsparse-dev-eae1d3b88df784f241b3a41fb6a03fc2a9a3ec62.tar.gz
build: simplify clean pattern
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index bf2f8204..d0e616ba 100644
--- a/Makefile
+++ b/Makefile
@@ -214,13 +214,9 @@ clean: clean-check
@rm -f *.[oa] .*.d $(PROGRAMS) version.h
clean-check:
@echo " CLEAN"
- @find validation/ \( -name "*.c.output.expected" \
- -o -name "*.c.output.got" \
- -o -name "*.c.output.diff" \
- -o -name "*.c.error.expected" \
- -o -name "*.c.error.got" \
- -o -name "*.c.error.diff" \
- \) -exec rm {} \;
+ @find validation/ \( -name "*.c.output.*" \
+ -o -name "*.c.error.*" \
+ \) -exec rm {} \;
install: $(INST_PROGRAMS) $(INST_MAN1) install-dirs install-bin install-man