📄 makefile
字号:
# simplest makefile of moduleKERNELDIR = /home/HM901ESP/linux-2.4.27LD = arm-linux-gccCFLAGS = -D__KERNEL__ -DMODULE -I$(KERNELDIR)/include -O2 -Wallifdef CONFIG_SMPCFLAGS += -D__SMP__ -DSMPendifall: led_module.o test_led.o led_timer.o run_led_timer.oled_module.o: led_module.c $(LD) $(CFLAGS) -c $^ led_module_remap.o: led_module_remap.c $(LD) $(CFLAGS) -c $^test_led.o: test_led.c $(LD) $^ -o test_ledled_timer.o: led_timer.c $(LD) $(CFLAGS) -c $^ run_led_timer.o: run_led_timer.c $(LD) $(CFLAGS) -c $^ clean: rm -f *.o test_led core
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -