Skip to content

Commit 9f22cae

Browse files
authored
Merge pull request #1152 from jeffhostetler/jeffhostetler/msvc_make_clean
Makefile: clean EXE PDBs when MSVC=1
2 parents 7a2040a + 6b24a52 commit 9f22cae

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)