Skip to content

Commit ab7a231

Browse files
committed
vs2015: teach 'make clean' to delete PDBs
Signed-off-by: Jeff Hostetler <[email protected]>
1 parent 87e8294 commit ab7a231

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
@@ -2555,6 +2555,9 @@ endif
25552555
$(RM) GIT-VERSION-FILE GIT-CFLAGS GIT-LDFLAGS GIT-BUILD-OPTIONS
25562556
$(RM) GIT-USER-AGENT GIT-PREFIX
25572557
$(RM) GIT-SCRIPT-DEFINES GIT-PERL-DEFINES GIT-PYTHON-VARS
2558+
ifdef MSVC
2559+
$(RM) $(patsubst %.o,%.o.pdb,$(OBJECTS))
2560+
endif
25582561

25592562
.PHONY: all install profile-clean clean strip
25602563
.PHONY: shell_compatibility_test please_set_SHELL_PATH_to_a_more_modern_shell

0 commit comments

Comments
 (0)