makefile

来自「elinux jffs初始版本 具体了解JFFS的文件系统!」· 代码 · 共 36 行

TXT
36
字号
## Makefile for the linux autofs-filesystem routines.## We can build this either out of the kernel tree or the autofs tools tree.#O_TARGET := autofs.oO_OBJS   := dir.o dirhash.o init.o inode.o root.o symlink.o waitq.oM_OBJS   := $(O_TARGET)ifdef TOPDIR## Part of the kernel code#include $(TOPDIR)/Rules.makeelse## Standalone (handy for development)#include ../Makefile.rulesCFLAGS += -D__KERNEL__ -DMODULE $(KFLAGS) -I../include -I$(KINCLUDE) $(MODFLAGS)all: $(O_TARGET)$(O_TARGET): $(O_OBJS)	$(LD) -r -o $(O_TARGET) $(O_OBJS)install: $(O_TARGET)	install -c $(O_TARGET) /lib/modules/`uname -r`/fsclean:	rm -f *.o *.sendif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?