about summary refs log tree commit diff
path: root/clean.mk
blob: 51bfd3bca324669afee38c046388918714f0fbf1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
clean_files :=

clean:
	$(suppress) rm -fv -- $(clean_files)

dryclean:
	@for i in $(clean_files); do if [ -e $$i ]; then echo $$i; fi; done | sort

print-top-help += \
  echo "  clean: Delete generated files"; \
  echo "  dryclean: Show what files would be deleted by 'make clean'";