diff options
| author | RaySlash <stevemathewjoy@gmail.com> | 2023-10-02 13:08:52 +1000 |
|---|---|---|
| committer | RaySlash <stevemathewjoy@gmail.com> | 2023-10-02 22:14:57 +1000 |
| commit | 75006183d0a379a2b0fa844fc32b3e27d229f368 (patch) | |
| tree | e69dcd71c1071fb973ea61c5f41f22d48c7b5d9b /src/Makefile | |
| parent | b2872a893afd0f9cd0bfd4644348f3b8645edbed (diff) | |
| download | hid-tmff2-75006183d0a379a2b0fa844fc32b3e27d229f368.tar.gz hid-tmff2-75006183d0a379a2b0fa844fc32b3e27d229f368.zip | |
src: initial refactoring
Diffstat (limited to 'src/Makefile')
| -rw-r--r-- | src/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile new file mode 100644 index 0000000..5e2ab40 --- /dev/null +++ b/src/Makefile @@ -0,0 +1,16 @@ +KDIR ?= /lib/modules/$(shell uname -r)/build + +all: hid-tminit + $(MAKE) -C $(KDIR) M=$(shell pwd) modules + +install: hid-tminit + $(MAKE) -C $(KDIR) M=$(shell pwd) modules_install + depmod -A + +clean: hid-tminit + $(MAKE) -C $(KDIR) M=$(shell pwd) clean + + +.PHONY: hid-tminit +hid-tminit: + $(MAKE) -C hid-tminit KDIR="$(KDIR)" $(MAKECMDGOALS) |
