export PKG_NAME := libfixmath export PKG_VERSION := 91 export PKG_BRANCH := trunk export PKG_URL := http://libfixmath.googlecode.com/svn/$(PKG_BRANCH)/ export CHECKOUT_FOLDER := $(CURDIR)/checkout/$(PKG_BRANCH)-r$(PKG_VERSION) export SVN_INFO_FILE := $(CHECKOUT_FOLDER)/svn_info.xml .PHONY: all clean distclean all: $(BINDIR)$(PKG_NAME).a all-unittests: $(BINDIR)$(PKG_NAME)-unittests.a ifneq (,$(filter libfixmath-unittests,$(USEMODULE))) all: all-unittests endif $(BINDIR)$(PKG_NAME).a: $(BINDIR)$(PKG_NAME)-src/Makefile $(BINDIR)$(PKG_NAME)-headers/fix16.h "$(MAKE)" -C $( $(@D)/fix16_unittests.inc $(SVN_INFO_FILE): $(AD)mkdir -p $(@D) $(AD)$(CURDIR)/checkout.sh clean:: $(AD)rm -rf $(BINDIR)$(PKG_NAME)-src/ $(BINDIR)$(PKG_NAME)-headers/ distclean:: clean $(AD)rm -rf $(CHECKOUT_FOLDER) Makefile.include: @true