nix-super/mk/clean.mk

12 lines
284 B
Makefile
Raw Normal View History

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