PKG_NAME := libfixmath PKG_VERSION := 91 PKG_BRANCH := trunk PKG_URL := http://libfixmath.googlecode.com/svn/$(PKG_BRANCH)/ CHECKOUT_FOLDER := $(CURDIR)/checkout/$(PKG_BRANCH)-r$(PKG_VERSION) .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 $(CHECKOUT_FOLDER)/svn_info.xml: $(AD)mkdir -p $(@D) $(AD)svn checkout -q -r $(PKG_VERSION) $(PKG_URL) $(@D) $(AD)svn info --xml $(@D) > $@ clean:: $(AD)rm -rf $(BINDIR)$(PKG_NAME)-src/ $(BINDIR)$(PKG_NAME)-headers/ distclean:: clean $(AD)rm -rf $(CHECKOUT_FOLDER) Makefile.include: @true