tvl-depot/third_party/nix/mk/clean.mk

12 lines
284 B
Makefile
Raw Normal View History

2014-02-01 12:20:06 +01:00
clean-files :=
clean:
2014-02-01 12:20:06 +01:00
$(suppress) rm -fv -- $(clean-files)
dryclean:
2014-02-01 12:20:06 +01:00
@for i in $(clean-files); do if [ -e $$i ]; then echo $$i; fi; done | sort
2014-02-01 11:47:34 +01:00
print-top-help += \
echo " clean: Delete generated files"; \
echo " dryclean: Show what files would be deleted by 'make clean'";