ifndef MAKEFILE MAKEFILE := Makefile_atheros_openwrt endif ifndef OPENWRT_VERSION OPENWRT_VERSION := 10.03 endif include common.mk .PHONY: \ all help \ libowlps \ libowlps-client \ owlps-client \ owlps-listener ## Compilation ## all: \ libowlps \ libowlps-client \ owlps-client \ owlps-listener libowlps: @$(MAKE) -C $@ $(TARGET) libowlps-client: libowlps @$(MAKE) -C $@ $(TARGET) owlps-client: libowlps libowlps-client @$(MAKE) -C $@ $(TARGET) owlps-listener: libowlps libowlps-client @$(MAKE) -C $@ $(TARGET) ## Help ## help : @echo "Compiles the supported modules for OpenWrt Atheros." @echo "Supported variables:" @echo " MAKEFILE: makefile to call (default: $(MAKEFILE))." @echo " OPENWRT_VERSION: version of OpenWrt to build against \ (default: $(OPENWRT_VERSION))." @echo " TARGET: target to call (default: all)."