eudyptula/task_05/Makefile

10 lines
216 B
Makefile

#CFLAGS_my-usb-detect2.o = -DDEBUG
obj-m += my-usb-detect.o
PWD := $(CURDIR)
all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean