1 2 KDIR := /lib/modules/$(shell uname -r)/build 3 CFLAGS := -I$(KDIR)/drivers/char/drm 4default: 5 ${CC} -o test_drm user_tdrm.c $(CFLAGS) 6