42 lines
782 B
Plaintext
42 lines
782 B
Plaintext
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)."
|