From 2aaad6faf38d7f0337f5d68170004b0cd1b29e95 Mon Sep 17 00:00:00 2001 From: Anders Blomdell <anders.blomdell@control.lth.se> Date: Wed, 20 Jan 2021 12:13:04 +0100 Subject: [PATCH] Add cleanup rules --- Makefile | 4 ++++ test/Makefile | 3 +++ 2 files changed, 7 insertions(+) diff --git a/Makefile b/Makefile index d2416a7..4f375b5 100644 --- a/Makefile +++ b/Makefile @@ -14,3 +14,7 @@ sha512backup: hashbackup.py $(SOURCE_hashbackup) Makefile .PHONY: test test: all $(MAKE) -C test test + +.PHONY: clean +clean: + $(MAKE) -C test clean diff --git a/test/Makefile b/test/Makefile index cb1c665..bc05120 100644 --- a/test/Makefile +++ b/test/Makefile @@ -9,3 +9,6 @@ test: $(PYTESTS:%.py=%) $(SHTESTS:%.sh=%) %: %.sh ./$< +.PHONY: clean +clean: + rm -f delete.me.* -- GitLab