Makefile 254 B

12345678910
  1. LOCAL_MAKE_INCLUDE := include
  2. override TEMPLATE := make_templates/header_only_lib
  3. override LOCAL_TEMPLATE := $(LOCAL_MAKE_INCLUDE)/$(TEMPLATE)
  4. ifneq ($(shell cat $(LOCAL_TEMPLATE) 2> /dev/null),)
  5. include $(LOCAL_TEMPLATE)
  6. else
  7. include $(TEMPLATE)
  8. endif