1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-19 10:50:24 -04:00
nix/mk/clean.mk

12 lines
284 B
Makefile
Raw Normal View History

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