Skip to content

Commit

Permalink
Update clean target for Makefile and .gitignore (#215)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
cohosh authored Aug 21, 2023
1 parent 35e4ba0 commit a029d7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a029d7f

Please sign in to comment.