Makefile: surround make -C kafel clean with ifdefs

This commit is contained in:
Robert Swiecki 2017-05-27 02:32:39 +02:00
parent 90d33db05d
commit fc1211d62a

View File

@ -98,7 +98,9 @@ $(PROTO_DEPS): config.proto
clean:
$(RM) core Makefile.bak $(OBJS) $(BIN)
ifneq ("$(wildcard kafel/Makefile)","")
$(MAKE) -C kafel clean
endif
depend:
makedepend -Y -Ykafel/include -- -- $(SRCS)