From 066e558b20df8131837abe743e68ab7d07c988bb Mon Sep 17 00:00:00 2001 From: mrg Date: Wed, 3 Nov 2021 08:34:49 -0700 Subject: [PATCH] Add Makefile targets for clean, uninstall, and wipe --- Makefile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index bd9aee94..3f2cf7a5 100644 --- a/Makefile +++ b/Makefile @@ -202,23 +202,23 @@ mount: vlsida/openram-ubuntu:latest .PHONY: mount - -testclean: +clean: rm -rf $(TEST_STAMPS) rm -rf $(TEST_DIRS) - rm *.zip -.PHONE: testclean + rm -f *.zip +.PHONE: clean -clean: - rm -rf $(SKY130_PDK) +uninstall: clean rm -f $(INSTALL_BASE)/tech/.magicrc rm -f $(INSTALL_BASE)/mag_lib/.magicrc rm -f $(INSTALL_BASE)/lef_lib/.magicrc rm -f $(INSTALL_BASE)/maglef_lib/.magicrc rm -rf $(INSTALL_DIRS) -.PHONY: clean +.PHONY: uninstall -uninstall: clean +# wipe the entire repos +wipe: uninstall + rm -rf $(SKY130_PDK) rm -rf $(SRAM_LIB_DIR) rm -rf $(OPEN_PDKS_DIR) -.PHONY: uninstall +.PHONY: wipe