make file for ALSA kernel driver

This commit is contained in:
serifpersia 2025-06-24 21:37:06 +02:00
parent 1a3568fca7
commit 71125671c2
1 changed files with 10 additions and 0 deletions

10
src & scripts/Makefile Normal file
View File

@ -0,0 +1,10 @@
obj-m += us144mk2.o
KDIR := /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
default:
$(MAKE) -C $(KDIR) M=$(PWD) modules
clean:
$(MAKE) -C $(KDIR) M=$(PWD) clean