Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CFILES = main.c sub.c
- obj-m += hello.o
- hello-objs := $(CFILES:.c=.o)
- all:
- make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
- clean:
- make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
Add Comment
Please, Sign In to add comment