From a029d7f7b465de2fa77983a632848048cf24a429 Mon Sep 17 00:00:00 2001 From: Cecylia Bocovich Date: Mon, 21 Aug 2023 10:11:14 -0400 Subject: [PATCH] Update clean target for Makefile and .gitignore (#215) Recursively call make clean on libtapdance directory and make sure to use -r with rm to properly remove $EXE_DIR Update .gitignore for new executable paths --- .gitignore | 3 ++- Makefile | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 9d037843..44580e4f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,9 @@ backup/ -conjure cmd/application/application libtapdance/genkey +libtapdance/*.o +libtapdance/*.a cmd/registration-server/registration-server cmd/registration-server/regserver target diff --git a/Makefile b/Makefile index 30d410cd..ceb5f130 100644 --- a/Makefile +++ b/Makefile @@ -85,7 +85,8 @@ endif clean: cargo clean - rm -f ${TARGETS} *.o *~ ${EXE_DIR} + $(RM) -rf *.o *~ ${EXE_DIR} + cd ./libtapdance/ && make clean ${PROTO_RS_PATH}: cd ./proto/ && make