docs
[mirrors/Programs.git] / c / lkm / oldmak
CommitLineData
21c4e167
H
1TARGET := hello
2WARN := -W -Wall -Wstrict-prototypes -Wmissing-prototypes
3INCLUDE := -isystem /usr/src/linux-$(shell uname -r)/include/
4EXTRA_CFLAGS := -O3 -fomit-frame-pointer -DMODULE -D__KERNEL__ $(WARN) $(INCLUDE)
5CC := gcc
6
7
8$(TARGET).ko: $(TARGET).c
9clean:
10 rm -rf (TARGET).o
11module:
12 $(MAKE) -C /usr/src/linux-$(shell uname -r) M=$(shell pwd) modules
This page took 1.020525 seconds and 5 git commands to generate.