?? makefile
字號(hào):
# Makefile for the can200 driver kernel module
CC=gcc
CFLAGS := -O2 -Wall
MODCFLAGS := -Wall -D__KERNEL__ -DMODULE -I/usr/src/linux/include -O2
.PHONY: all clean devices test
all: send receive
clean:
rm -f *~ receive send
receive: receive.c adv_can.h
$(CC) $(CFLAGS) -o receive receive.c
send: send.c adv_can.h
$(CC) $(CFLAGS) -o send send.c
devices:
mknod can20k c 60 1
mknod can40k c 60 2
test: can_test devices
./can_test
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -