Skip to content

Commit

Permalink
Fix "make clean"
Browse files Browse the repository at this point in the history
  • Loading branch information
524D committed May 21, 2020
1 parent d96fc8d commit bed7d3b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ PEPS = $(addprefix $(RESULT_DIR)/,$(MZMLS:.mzML=.pep.xml))
RECALPEPS = $(addprefix $(RESULT_DIR)/,$(MZMLS:.mzML=-recal.pep.xml))
MZMLSLN = $(addprefix $(RESULT_DIR)/,$(MZMLS))
PLOTS = $(addprefix $(RESULT_DIR)/,$(MZMLS:.mzML=.png))
TXTSCORE = $(addprefix $(RESULT_DIR)/,$(MZMLS:.mzML=.txt))

INTERMEDIATES = $(MZMLSLN) $(PEPS) $(RECALPEPS) $(RECALS) \
$(PEPS:.pep.xml=.mzid) $(RECALPEPS.pep.xml=.mzid) \
Expand All @@ -45,7 +46,7 @@ all: dirs $(RECALS) $(PLOTS)

# To remove generated files
clean:
rm -f $(RECALS) $(PLOTS) $(INTERMEDIATES)
rm -f $(RECALS) $(PLOTS) $(TXTSCORE) $(INTERMEDIATES)

# Prevent deletion of intermediate files
.SECONDARY: $(INTERMEDIATES)
Expand Down

0 comments on commit bed7d3b

Please sign in to comment.