mirror of https://github.com/proski/madwifi
23 lines
375 B
Makefile
23 lines
375 B
Makefile
obj := $(firstword $(obj) $(SUBDIRS) .)
|
|
TOP = $(obj)/..
|
|
|
|
obj-y := ccmp/ tkip/ wep/
|
|
|
|
include $(TOP)/Makefile.inc
|
|
|
|
modules:
|
|
$(MAKE) -C $(KERNELPATH) SUBDIRS=$(shell pwd) modules
|
|
|
|
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
|
|
|
|
rm -f modules.order *.symvers
|
|
rm -rf .tmp_versions
|