makefile

来自「linux-2.4.29操作系统的源码」· 代码 · 共 41 行

TXT
41
字号
## Makefile for the linux kernel.## Note! Dependencies are done automagically by 'make dep', which also# removes any old dependencies. DON'T put your own dependencies here# unless it's something special (ie not a .c file).## Note 2! The CFLAGS definitions are now in the main makefile...# These assembly files can't be assembld with -traditional, so we# need another build rule than the one in the toplevel Makefile..S.o:	$(CC) $(AFLAGS) -c $< -o $*.oall: kernel.o head.oO_TARGET := kernel.oexport-objs := crisksyms.oobj-y   := process.o signal.o entry.o traps.o irq.o \           ptrace.o setup.o time.o sys_cris.o shadows.o \	   debugport.o semaphore.oobj-$(CONFIG_MODULES)    += crisksyms.oobj-$(CONFIG_ETRAX_KGDB) += kgdb.oobj-$(CONFIG_ETRAX_FAST_TIMER) += fasttimer.oobj-$(CONFIG_ETRAX_DEBUG_INTERRUPT) += debug.o# This dependency isn't caught by mkdep.  See entry.S.entry.o: entryoffsets.s# We don't want debug info for the dummy entryoffsets functions, and the# assembler gets confused when file directives are .if 0:d out.entryoffsets.s: entryoffsets.c	$(CC) $(subst -g,,$(CFLAGS)) -S -c $<clean:include $(TOPDIR)/Rules.make

⌨️ 快捷键说明

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