📄 makefile
字号:
## (c) Copyright 1990 Conor P. Cahill (uunet!virtech!cpcahil). # You may copy, distribute, and use this software as long as this# copyright statement is not removed.### This is the Makefile for the malloc debugging library## $Id: Makefile,v 1.3 90/06/21 10:37:06 cpcahil Exp $#CC=cc# for System V systems use this CFLAGSCFLAGS=-g -DSYS5# else for BSD use:#CFLAGS=-gSHARCMD=shar -o mallocshar -l50 -x -a -n MalloclibLIB=libmalloc.aOBJS= malloc.o \ free.o \ realloc.o \ calloc.o \ string.o \ malloc_chk.o \ malloc_chn.o \ memory.o \ tostring.o \ m_perror.o \ m_init.o \ mallopt.o \ dump.oTESTS=testmalloc testmemall: $(LIB) $(TESTS)clean: rm -f $(TESTS) pgm $(LIB) *.o *.lnsharfile: $(SHARCMD) Makefile README patchlevel *.[ch3] $(LIB): $(OBJS) ar -ru $(LIB) $(OBJS) -if test -s /bin/ranlib; then /bin/ranlib $(LIB); else exit 0; fi -if test -s /usr/bin/ranlib; then /usr/bin/ranlib $(LIB); else exit 0; fitestmalloc: $(LIB) testmalloc.o $(CC) -o $@ testmalloc.o $(LIB)testmem: $(LIB) testmem.o $(CC) -o $@ testmem.o $(LIB)$(OBJS): malloc.htostring.o malloc.o dump.o: tostring.h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -