makefile

来自「内核linux2.4.20,可跟rtlinux3.2打补丁 组成实时linux系」· 代码 · 共 34 行

TXT
34
字号
## This file is subject to the terms and conditions of the GNU General Public# License.  See the file "COPYING" in the main directory of this archive# for more details.## Copyright (C) 2000 Silicon Graphics, Inc.# Copyright (C) Jack Steiner (steiner@sgi.com)#TOPDIR=../../../..HPATH           = $(TOPDIR)/includeLIB     = ../../lib/lib.aOBJ=fpromasm.o main.o  fw-emu.o fpmem.oobj-y=fpromfprom: $(OBJ)	$(LD) -static -Tfprom.lds -o fprom $(OBJ) $(LIB)comma	:= ,.S.o:	$(CC)  -D__ASSEMBLY__ $(AFLAGS) $(AFLAGS_KERNEL) -c -o $*.o $<.c.o:	$(CC)  $(CFLAGS) -DKBUILD_BASENAME=$(subst $(comma),_,$(subst -,_,$(*F))) $(CFLAGS_KERNEL) -c -o $*.o $<clean:	rm -f *.o fprominclude $(TOPDIR)/Rules.make

⌨️ 快捷键说明

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