Skip to content

Commit b1dd30a

Browse files
jeffhostetlerGit for Windows Build Agent
authored andcommitted
vs2015: teach 'make clean' to delete PDBs
Signed-off-by: Jeff Hostetler <[email protected]>
1 parent c5bd424 commit b1dd30a

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
@@ -2558,6 +2558,9 @@ endif
25582558
$(RM) GIT-VERSION-FILE GIT-CFLAGS GIT-LDFLAGS GIT-BUILD-OPTIONS
25592559
$(RM) GIT-USER-AGENT GIT-PREFIX
25602560
$(RM) GIT-SCRIPT-DEFINES GIT-PERL-DEFINES GIT-PYTHON-VARS
2561+
ifdef MSVC
2562+
$(RM) $(patsubst %.o,%.o.pdb,$(OBJECTS))
2563+
endif
25612564

25622565
.PHONY: all install profile-clean clean strip
25632566
.PHONY: shell_compatibility_test please_set_SHELL_PATH_to_a_more_modern_shell

0 commit comments

Comments
 (0)