makefile
来自「这是motorola公司的powerpc芯片上的嵌入式linux上的驱动程序和测」· 代码 · 共 24 行
TXT
24 行
# simplest makefile of moduleKERNELDIR = /opt/eldk/usr/src/GE850EH/linux-2.4LD = ppc-linux-gccCFLAGS = -D__KERNEL__ -DMODULE -I$(KERNELDIR)/include -O -Wallifdef CONFIG_SMPCFLAGS += -D__SMP__ -DSMPendifall: hal_mem.o test_hal_memhal_mem.o: hal_mem.c $(LD) $(CFLAGS) -c $^ -o $@test_hal_mem: hal_api.c test_hal_mem.c $(LD) test_hal_mem.c hal_api.c -o test_hal_memclean: rm -f *.o *. core
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?