?? makefile
字號:
# simplest makefile of module
KERNELDIR = /usr/src/linux-2.4.27
CC = /usr/local/arm/2.95.3/bin/arm-linux-gcc
CFLAGS = -D__KERNEL__ -DMODULE -I$(KERNELDIR)/include -O2 -Wall
ifdef CONFIG_SMP
CFLAGS += -D__SMP__ -DSMP
endif
all: led_module.o test_led.o
led_module.o: led_module.c
$(LD) $(CFLAGS) -c $^
test_led.o: test_led.c
$(LD) $^ -o test_led
clean:
rm -f *.o test_led core
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -