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