Makefile 397 B

1234567891011121314151617181920
  1. TOPDIR=../
  2. include $(TOPDIR)Rules.mak
  3. ALL_SUBDIRS = d-link libdl util
  4. all:
  5. ifeq ($(strip $(BUILD_UCLIBC_LDSO)),true)
  6. $(MAKE) -C $(LIBRARY_CACHE) d-link;
  7. endif
  8. shared:
  9. ifeq ($(strip $(BUILD_UCLIBC_LDSO)),true)
  10. $(MAKE) -C $(LIBRARY_CACHE) libdl;
  11. endif
  12. $(MAKE) -C $(LIBRARY_CACHE) util;
  13. clean:
  14. set -e ; for d in $(ALL_SUBDIRS) ; do $(MAKE) -C $$d $@ ; done
  15. -find . -name '*~' | xargs rm -f