aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2017-11-04 18:39:43 +0100
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2017-11-10 10:13:37 +0100
commit414c4b9becbeb79625b419a8a8a2f322f590ffd5 (patch)
tree05bf20dfba92088616fcf23b305ceef80146ba8b /Makefile
parent20845299406b69b0a2a55f067412541491a9fc42 (diff)
downloadsparse-dev-414c4b9becbeb79625b419a8a8a2f322f590ffd5.tar.gz
build: move clean & clean-check together
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 983b4647..40018788 100644
--- a/Makefile
+++ b/Makefile
@@ -206,9 +206,6 @@ version.h: FORCE
fi
-clean: clean-check
- rm -f *.[oa] .*.d *.so $(PROGRAMS) $(SLIB_FILE) version.h
-
dist:
@if test "$(SPARSE_VERSION)" != "v$(VERSION)" ; then \
echo 'Update VERSION in the Makefile before running "make dist".' ; \
@@ -219,6 +216,9 @@ dist:
check: all
$(Q)cd validation && ./test-suite
+
+clean: clean-check
+ rm -f *.[oa] .*.d *.so $(PROGRAMS) $(SLIB_FILE) version.h
clean-check:
find validation/ \( -name "*.c.output.expected" \
-o -name "*.c.output.got" \