Merge pull request #28 from ypid/clean-.d

Ensure DEPSDIR (.d) is removed on `make clean` as well
This commit is contained in:
Hamish Coleman 2017-06-20 15:27:13 +08:00 committed by GitHub
commit 91b41539dc

View File

@ -32,11 +32,14 @@ list_laptops:
.PHONY: list_laptops
DEPSDIR := .d
# Remove all the usual junk (including any patched firmware images)
clean:
rm -f patched.*.iso patched.*.img *.FL2 *.FL2.orig *.img.enc \
*.img.enc.orig *.img.orig *.bat \
*.img
rm -rf "$(DEPSDIR)"
# Also remove the large downloaded iso images
really_clean: clean
@ -153,7 +156,6 @@ define patch_disable
$(call patch_mv,$1,$1.OFF)
endef
DEPSDIR := .d
$(shell mkdir -p $(DEPSDIR))
-include $(DEPSDIR)/slice.extract.deps
$(DEPSDIR)/slice.extract.deps: Makefile