From 125fc661a3c63b553470a3ae65d1d4d354fd1117 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Fri, 18 Sep 2015 09:14:49 +0200 Subject: [PATCH] Makefile: Allow clean and distclean targets when libite/libuev are disabled. Even though libite and libuEv can be disabled, using the --with-libnnn option to configure, we let make descend into those submodules for the clean and distclean targets. This way we can rely on make dev to work. Signed-off-by: Joachim Nilsson --- Makefile | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Makefile b/Makefile index 62921f91..a8a15b5c 100644 --- a/Makefile +++ b/Makefile @@ -143,22 +143,14 @@ uninstall: uninstall-exec uninstall-data uninstall-dev clean: +$(MAKE) -C plugins $@ -ifndef LIBITE +$(MAKE) -C libite $@ -endif -ifndef LIBUEV +$(MAKE) -C libuev $@ -endif -@$(RM) $(OBJS) $(DEPS) $(EXEC) distclean: clean +$(MAKE) -C plugins $@ -ifndef LIBITE +$(MAKE) -C libite $@ -endif -ifndef LIBUEV +$(MAKE) -C libuev $@ -endif -@$(RM) $(JUNK) config.mk config.h unittest *.o *.html check: