Skip to content

Commit a029d7f

Browse files
authored
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
1 parent 35e4ba0 commit a029d7f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11

22
backup/
3-
conjure
43
cmd/application/application
54
libtapdance/genkey
5+
libtapdance/*.o
6+
libtapdance/*.a
67
cmd/registration-server/registration-server
78
cmd/registration-server/regserver
89
target

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ endif
8585

8686
clean:
8787
cargo clean
88-
rm -f ${TARGETS} *.o *~ ${EXE_DIR}
88+
$(RM) -rf *.o *~ ${EXE_DIR}
89+
cd ./libtapdance/ && make clean
8990

9091
${PROTO_RS_PATH}:
9192
cd ./proto/ && make

0 commit comments

Comments
 (0)