Skip to content
This repository was archived by the owner on Apr 12, 2020. It is now read-only.

Commit 81c52f0

Browse files
author
南琴浪
authored
add Makefile
1 parent 2fd76f2 commit 81c52f0

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Makefile

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
obj-m:=tcp_nanqinlang.o
2+
3+
all:
4+
make -C /lib/modules/`uname -r`/build M=`pwd` modules CC=/usr/bin/gcc-4.9
5+
6+
clean:
7+
make -C /lib/modules/`uname -r`/build M=`pwd` clean
8+
9+
install:
10+
install tcp_nanqinlang.ko /lib/modules/`uname -r`/kernel/net/ipv4
11+
insmod /lib/modules/`uname -r`/kernel/net/ipv4/tcp_nanqinlang.ko
12+
depmod -a

0 commit comments

Comments
 (0)