about summary refs log tree commit diff
path: root/third_party/nix/mk/clean.mk
blob: ce9afb3b0db7debb718f5c8a5ead5cd12ef8ecd4 (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'";