Makefile 245 B

1234567891011
  1. obj-m := mac80211_hwsim.o
  2. KDIR := /lib/modules/$(shell uname -r)/build
  3. PWD := $(shell pwd)
  4. default:
  5. $(MAKE) -C $(KDIR) M=$(PWD) modules
  6. install:
  7. $(MAKE) -C $(KDIR) M=$(PWD) modules_install
  8. depmod -A
  9. clean:
  10. $(MAKE) -C $(KDIR) M=$(PWD) clean