Skip to content

Commit 6b24a52

Browse files
committed
Makefile: clean PDBs when MSVC=1
Teach main Makefile to also delete the PDB files for the various EXE files during "make MSVC=1 clean". Previously, we only deleted the PDB files associated with individual .o files. Signed-off-by: Jeff Hostetler <[email protected]>
1 parent d32cf6f commit 6b24a52

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2583,6 +2583,9 @@ endif
25832583
$(RM) GIT-SCRIPT-DEFINES GIT-PERL-DEFINES GIT-PYTHON-VARS
25842584
ifdef MSVC
25852585
$(RM) $(patsubst %.o,%.o.pdb,$(OBJECTS))
2586+
$(RM) $(patsubst %.exe,%.pdb,$(OTHER_PROGRAMS))
2587+
$(RM) $(patsubst %.exe,%.pdb,$(PROGRAMS))
2588+
$(RM) $(patsubst %.exe,%.pdb,$(TEST_PROGRAMS))
25862589
endif
25872590

25882591
.PHONY: all install profile-clean clean strip

0 commit comments

Comments
 (0)