mirror of
https://github.com/proski/madwifi
synced 2024-11-22 06:21:47 +03:00
2cb3887369
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3678 0192ed92-7a03-0410-a25b-9323aeb14dbd
29 lines
466 B
Makefile
29 lines
466 B
Makefile
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
|