~ruther/qmk_firmware

ce3adcd6e19ca2e3b537ab874487e9d022b8e88f — Sebastian 7 years ago 3acaad6
Added a clean target to remove build artifacts

This commit adds a new clean target to the makefile which deletes
the .build directory which removes all build artifacts.
1 files changed, 6 insertions(+), 0 deletions(-)

M Makefile
M Makefile => Makefile +6 -0
@@ 124,6 124,12 @@ generate-keyboards-file:
	$(foreach PRINTING_KEYBOARD,$(KEYBOARDS),$(eval $(call PRINT_KEYBOARD)))
	exit 0

clean:
	echo -n 'Deleting .build ... '
	rm -rf $(BUILD_DIR)
	echo 'done'
	exit 0

#Compatibility with the old make variables, anything you specify directly on the command line
# always overrides the detected folders
ifdef keyboard