mirror of
https://github.com/proski/madwifi
synced 2024-11-22 22:41:33 +03:00
29 lines
409 B
Makefile
29 lines
409 B
Makefile
|
ifeq ($(obj),)
|
||
|
obj= .
|
||
|
endif
|
||
|
|
||
|
TOP = $(obj)/..
|
||
|
|
||
|
obj-y := amrr/ onoe/ sample/ minstrel/
|
||
|
|
||
|
include $(TOP)/Makefile.inc
|
||
|
|
||
|
modules:
|
||
|
ifdef LINUX24
|
||
|
for i in $(obj-y); do \
|
||
|
$(MAKE) -C $$i || exit 1; \
|
||
|
done
|
||
|
else
|
||
|
$(MAKE) -C $(KERNELPATH) SUBDIRS=$(shell pwd) modules
|
||
|
endif
|
||
|
|
||
|
install:
|
||
|
for i in $(obj-y); do \
|
||
|
$(MAKE) -C $$i install || exit 1; \
|
||
|
done
|
||
|
|
||
|
clean:
|
||
|
for i in $(obj-y); do \
|
||
|
$(MAKE) -C $$i clean; \
|
||
|
done
|