diff options
| author | lonkaars <loek@pipeframe.xyz> | 2024-04-17 13:45:51 +0200 |
|---|---|---|
| committer | lonkaars <loek@pipeframe.xyz> | 2024-04-17 13:45:51 +0200 |
| commit | 9b173b99874556041c3302b338e27e48978ec967 (patch) | |
| tree | 2a6e2bdfb02db856c063ec0b24c7cafd66a7375b /1/Makefile | |
| parent | 24db58665354b75d51e21c539b7e1dc5e7fe27c5 (diff) | |
hello world working
Diffstat (limited to '1/Makefile')
| -rw-r--r-- | 1/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/1/Makefile b/1/Makefile new file mode 100644 index 0000000..990d695 --- /dev/null +++ b/1/Makefile @@ -0,0 +1,8 @@ +RELEASE := $(shell uname -r) +KERNEL := /lib/modules/$(RELEASE)/build + +obj-m += main.o + +all: + $(MAKE) -C $(KERNEL) M=$(PWD) modules + |