owlps/Makefile_atheros_openwrt

46 lines
854 B
Plaintext
Raw Normal View History

2012-05-09 10:48:22 +02:00
ifndef MAKEFILE
MAKEFILE := Makefile_atheros_openwrt
2012-05-09 10:48:22 +02:00
endif
ifndef OPENWRT_VERSION
OPENWRT_VERSION := 10.03
2012-05-09 10:48:22 +02:00
endif
include common.mk
2012-05-09 10:48:22 +02:00
.PHONY: \
all help \
libowlps \
libowlps-client \
owlps-client \
owlps-listener
## Compilation ##
all: \
libowlps \
libowlps-client \
owlps-client \
owlps-listener
libowlps:
@$(MAKE) -C $@ $(TARGET)
2012-05-09 10:48:22 +02:00
libowlps-client: libowlps
@$(MAKE) -C $@ $(TARGET)
2012-05-09 10:48:22 +02:00
owlps-client: libowlps libowlps-client
@$(MAKE) -C $@ $(TARGET)
2012-05-09 10:48:22 +02:00
owlps-listener: libowlps libowlps-client
@$(MAKE) -C $@ $(TARGET)
2012-05-09 10:48:22 +02:00
## 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))."
2012-05-09 10:48:22 +02:00
@echo " TARGET: target to call (default: all)."