Add Makefile_atheros_openwrt

This commit is contained in:
Matteo Cypriani 2012-05-09 10:48:22 +02:00
parent 00613d8524
commit 811bb8053e
1 changed files with 41 additions and 0 deletions

41
Makefile_atheros_openwrt Normal file
View File

@ -0,0 +1,41 @@
ifndef MAKEFILE
MAKEFILE = Makefile_atheros_openwrt-10.03
endif
ifndef TARGET
TARGET = all
endif
.PHONY: \
all help \
libowlps \
libowlps-client \
owlps-client \
owlps-listener
## Compilation ##
all: \
libowlps \
libowlps-client \
owlps-client \
owlps-listener
libowlps:
@$(MAKE) $(TARGET) -f $(MAKEFILE) -C $@
libowlps-client: libowlps
@$(MAKE) $(TARGET) -f $(MAKEFILE) -C $@
owlps-client: libowlps libowlps-client
@$(MAKE) $(TARGET) -f $(MAKEFILE) -C $@
owlps-listener: libowlps libowlps-client
@$(MAKE) $(TARGET) -f $(MAKEFILE) -C $@
## Help ##
help :
@echo "Compiles the supported modules for OpenWrt Atheros."
@echo "Supported variables:"
@echo " MAKEFILE: makefile to call (default: $(MAKEFILE))."
@echo " TARGET: target to call (default: all)."