From: Steinar H. Gunderson Date: Sun, 14 Oct 2018 22:42:03 +0000 (+0200) Subject: Add a clean target. X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=a2ebd911483ef7fe82a5f3233937599b1266bafc;p=ultimatescore Add a clean target. --- diff --git a/client/Makefile b/client/Makefile index 2d0b7db..2c4dc3f 100644 --- a/client/Makefile +++ b/client/Makefile @@ -28,3 +28,7 @@ ultimatescore: $(OBJS) $(CXX) -o $@ $^ $(LDFLAGS) $(LDLIBS) mainwindow.o: ui_mainwindow.h + +.PHONY: clean +clean: + $(RM) $(OBJS) ultimatescore $(OBJS:.o=.d) $(OBJS_WITH_MOC:o=.moc.o) $(OBJS_WITH_MOC:o=.moc.d)