mkkmod/Makefile

13 lines
249 B
Makefile
Raw Normal View History

2024-07-12 22:56:47 +00:00
TARGET := eprog
KERN_VER ?= $(shell uname -r)
KERN_DIR := /lib/modules/$(KERN_VER)/build/
obj-m += $(TARGET).o
$(TARGET)-objs += eprog_kern.o eprog_user_blob.o
all:
make -C $(KERN_DIR) M=$(PWD) modules
clean:
make -C $(KERN_DIR) M=$(PWD) clean