X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=ath_rate%2FMakefile;h=ba8bfebd52952e381dbe792b9dafb41bc490375b;hb=2f64d27835408bf1546adae505434d04f5327d32;hp=8fba7df2aaee36c8436fc6aef7f4d958a6af7e6e;hpb=2c0d8db912df58c3a1b506e144e2b5d72edec617;p=madwifi%2F.git diff --git a/ath_rate/Makefile b/ath_rate/Makefile index 8fba7df..ba8bfeb 100644 --- a/ath_rate/Makefile +++ b/ath_rate/Makefile @@ -1,28 +1,24 @@ -ifeq ($(obj),) -obj= . -endif - +obj := $(firstword $(obj) $(SUBDIRS) .) TOP = $(obj)/.. obj-y := amrr/ onoe/ sample/ minstrel/ include $(TOP)/Makefile.inc +.PHONY: modules modules: -ifdef LINUX24 - for i in $(obj-y); do \ - $(MAKE) -C $$i || exit 1; \ - done -else $(MAKE) -C $(KERNELPATH) SUBDIRS=$(shell pwd) modules -endif +.PHONY: install install: for i in $(obj-y); do \ $(MAKE) -C $$i install || exit 1; \ done +.PHONY: clean clean: for i in $(obj-y); do \ $(MAKE) -C $$i clean; \ done + + rm -f modules.order