PKG_NAME = tlsf PKG_VERSION = 3.0 PKG_FILE = tlsf-$(PKG_VERSION).zip PKG_URL = http://tlsf.baisoku.org/$(PKG_FILE) ifeq (, $(UNZIP)) ifeq (0, $(shell which unzip 2>&1 > /dev/null ; echo $$?)) UNZIP := $(shell which unzip) else ifeq (0, $(shell which 7z 2>&1 > /dev/null ; echo $$?)) UNZIP := $(shell which 7z) x else $(error "Neither unzip nor 7z is installed.") endif endif endif .PHONY: all clean patch reset all: $(BINDIR)$(PKG_NAME).a $(BINDIR)$(PKG_NAME).a: $(BINDIR)$(PKG_NAME)-src/Makefile $(AD)make -C $(