makefile

来自「linux下bash的源码」· 代码 · 共 54 行

TXT
54
字号
# Copyright (C) 1991 Free Software Foundation, Inc.# This file is part of the GNU C Library.# The GNU C Library is free software; you can redistribute it and/or# modify it under the terms of the GNU Library General Public License# as published by the Free Software Foundation; either version 2 of# the License, or (at your option) any later version.# The GNU C Library is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU# Library General Public License for more details.# You should have received a copy of the GNU Library General Public# License along with the GNU C Library; see the file COPYING.LIB.  If# not, write to the Free Software Foundation, Inc., 675 Mass Ave,# Cambridge, MA 02139, USA.# Makefile for standalone distribution of malloc.srcdir = .VPATH = .:$(srcdir)all: libmalloc.asources = calloc.c cfree.c free.c malloc.c mcheck.c morecore.c \	  memalign.c mstats.c mtrace.c realloc.c valloc.cobjects = calloc.o cfree.o free.o malloc.o mcheck.o morecore.o \	  memalign.o mstats.o mtrace.o realloc.o valloc.oheaders = malloc.h getpagesize.hlibmalloc.a: $(objects)	ar crv $@ $(objects)	ranlib $@.c.o:	$(CC) $(CFLAGS) $(CPPFLAGS) -I. -c $< $(OUTPUT_OPTION).PHONY: clean realclean malloc-clean malloc-realcleanclean malloc-clean:	-rm -f libmalloc.a $(objects) corerealclean malloc-realclean: clean	-rm -f TAGS tags *~calloc.o: malloc.hfree.o: malloc.hmalloc.o: malloc.hmcheck.o: malloc.hmemalign.o: malloc.hmstats.o: malloc.hmtrace.o: malloc.hrealloc.o: malloc.hvalloc.o: malloc.h getpagesize.h

⌨️ 快捷键说明

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