Commit ad4ec41d authored by Lucas Russo's avatar Lucas Russo

Makefile: remove libmdp_pre preriquisite from clean/mrproper targets

If the libmdp Makefile is not found, nothing is cleaned.
parent 1be4d192
......@@ -241,11 +241,15 @@ libmdp_install: libmdp_pre
libmdp_uninstall: libmdp_pre
$(MAKE) -C $(LIBMDP_DIR) uninstall
libmdp_clean: libmdp_pre
libmdp_clean:
ifneq ($(wildcard $(LIBMDP_DIR)/Makefile),)
$(MAKE) -C $(LIBMDP_DIR) clean
endif
libmdp_mrproper: libmdp_pre
libmdp_mrproper:
ifneq ($(wildcard $(LIBMDP_DIR)/Makefile),)
$(MAKE) -C $(LIBMDP_DIR) distclean
endif
libbsmp:
$(MAKE) -C $(LIBBSMP_DIR) all
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment