Category : C Source Code
Archive   : DMAKE38B.ZIP
Filename : MAKEFILE

Output of file : MAKEFILE contained in archive : DMAKE38B.ZIP
# (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.5 90/08/29 22:34:27 cpcahil Exp $
# for System V systems use this CFLAGS
# else for BSD use:
SHARCMD=shar -o mallocshar -l50 -x -a -n Malloclib


SRCS= malloc.c \
free.c \
realloc.c \
calloc.c \
string.c \
mlc_chk.c \
mlc_chn.c \
memory.c \
tostring.c \
m_perror.c \
m_init.c \
mallopt.c \

OBJS= malloc.o \
free.o \
realloc.o \
calloc.o \
string.o \
mlc_chk.o \
mlc_chn.o \
memory.o \
tostring.o \
m_perror.o \
m_init.o \
mallopt.o \

TESTS=testmlc testmem

all: $(LIB) $(TESTS)

rm -f $(TESTS) pgm $(LIB) *.o *.ln

$(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; fi

testmlc: $(LIB) testmlc.o
$(CC) -o $@ testmlc.o $(LIB)

testmem: $(LIB) testmem.o
$(CC) -o $@ testmem.o $(LIB)

$(LINT) $(CFLAGS) $(SRCS) testmlc.c testmem.c

$(OBJS): malloc.h

tostring.o malloc.o dump.o: tostring.h

  3 Responses to “Category : C Source Code
Archive   : DMAKE38B.ZIP
Filename : MAKEFILE

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: