mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-10-31 13:22:31 +01:00 
			
		
		
		
	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.
This commit is contained in:
		
							parent
							
								
									3acaad6600
								
							
						
					
					
						commit
						ce3adcd6e1
					
				
							
								
								
									
										6
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								Makefile
									
									
									
									
									
								
							| @ -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 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Sebastian
						Sebastian