Skip to content

Commit ac818d1

Browse files
makefile: add a rule to remove build files
Sometimes you don't want to skip building stuff. Add a simple 'clean' rule that removes the "buildfiles". Signed-off-by: John Mulligan <[email protected]>
1 parent 4e87d3d commit ac818d1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,3 +136,7 @@ check: check-shell-scripts
136136
check-shell-scripts:
137137
$(SHELLCHECK) -P tests/ -eSC2181 -fgcc $$(find -name '*.sh')
138138
.PHONY: check-shell-scripts
139+
140+
clean:
141+
$(RM) $(BUILDFILE_SERVER) $(BUILDFILE_NIGHTLY_SERVER) $(BUILDFILE_AD_SERVER) $(BUILDFILE_NIGHTLY_AD_SERVER) $(BUILDFILE_CLIENT)
142+
.PHONY: clean

0 commit comments

Comments
 (0)