Skip to content

Commit 2f5f784

Browse files
jeffhostetlerdscho
authored andcommitted
vs2015: teach 'make clean' to delete PDBs
Signed-off-by: Jeff Hostetler <[email protected]>
1 parent 8115fe2 commit 2f5f784

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
@@ -2570,6 +2570,9 @@ endif
25702570
$(RM) GIT-VERSION-FILE GIT-CFLAGS GIT-LDFLAGS GIT-BUILD-OPTIONS
25712571
$(RM) GIT-USER-AGENT GIT-PREFIX
25722572
$(RM) GIT-SCRIPT-DEFINES GIT-PERL-DEFINES GIT-PYTHON-VARS
2573+
ifdef MSVC
2574+
$(RM) $(patsubst %.o,%.o.pdb,$(OBJECTS))
2575+
endif
25732576

25742577
.PHONY: all install profile-clean clean strip
25752578
.PHONY: shell_compatibility_test please_set_SHELL_PATH_to_a_more_modern_shell

0 commit comments

Comments
 (0)