mirror of
https://github.com/troglobit/finit.git
synced 2026-10-22 11:36:07 +00:00
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 <troglobit@gmail.com>
This commit is contained in:
1 parent
6531b2f20a
commit
125fc661a3
1 file changed
-8
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user