diff --git a/common.mak b/common.mak index d866ef1eef..dd9f4cbbc5 100644 --- a/common.mak +++ b/common.mak @@ -52,4 +52,7 @@ CLEANSUFFIXES = *.d *.o *~ *.h.c *.map *.ver DISTCLEANSUFFIXES = *.pc LIBSUFFIXES = *.a *.lib *.so *.so.* *.dylib *.dll *.def *.dll.a +clean:: + $(RM) $(OBJS) $(OBJS:.o=.d) + -include $(wildcard $(OBJS:.o=.d) $(HOSTOBJS:.o=.d) $(TESTOBJS:.o=.d) $(HOBJS:.o=.d))