lix/mk/clean.mk

12 lines
284 B
Makefile
Raw Normal View History

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