I am trying to compile https://github.com/berarma/new-lg4ff. Its a driver for force feedback on logitech g wheels. when trying to make the file I get the errors
make -C /lib/modules/uname -r
/build M=$PWD
make[1]: *** /lib/modules/5.15.50-216.current/build: No such file or directory. Stop.
make: *** [Makefile:5: default] Error 2
Any help would be appreciated.