kernel-helloworld-test
diff ktestprogram/Makefile @ 0:dbbd63da261f
helloworld kernel module and program that reads the /dev/ktest
author | Eleni Maria Stea <eleni@mutantstargoat.com> |
---|---|
date | Wed, 10 May 2017 13:11:31 +0300 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ktestprogram/Makefile Wed May 10 13:11:31 2017 +0300 1.3 @@ -0,0 +1,9 @@ 1.4 +obj = kprog.o 1.5 +CFLAGS = -pedantic -Wall -g 1.6 + 1.7 +kprog: $(obj) 1.8 + $(CC) -o $@ $^ $(LDFLAGS) 1.9 + 1.10 +.PHONY: clean 1.11 +clean: 1.12 + rm -f $(obj) kprog