makefile: fix distclean target to not print errors

This commit is contained in:
Miroslav Lichvar 2017-01-31 11:20:08 +01:00
parent 362d155558
commit c8076ac10d

View file

@ -64,10 +64,10 @@ chronyc : $(CLI_OBJS)
$(CC) $(CFLAGS) -o chronyc $(CLI_OBJS) $(LDFLAGS) $(LIBS) $(EXTRA_CLI_LIBS)
distclean : clean
-rm -f .DS_Store
-rm -f Makefile config.h config.log
$(MAKE) -C doc distclean
$(MAKE) -C test/unit distclean
-rm -f .DS_Store
-rm -f Makefile config.h config.log
clean :
-rm -f *.o *.s chronyc chronyd core *~