2 # (c) Copyright 1990 Conor P. Cahill (uunet!virtech!cpcahil).
3 # You may copy, distribute, and use this software as long as this
4 # copyright statement is not removed.
7 # This is the Makefile for the malloc debugging library
9 # $Id: makefile,v 1.1.1.1 2000-09-22 15:33:26 hr Exp $
12 # for System V systems use this CFLAGS
17 SHARCMD
=shar -o mallocshar
-l50
-x
-a
-n Malloclib
55 rm -f
$(TESTS
) pgm
$(LIB
) *.o
*.ln
58 $(SHARCMD
) Makefile README patchlevel
*.
[ch3
]
62 -if
test -s
/bin
/ranlib
; then
/bin
/ranlib
$(LIB
); else exit
0; fi
63 -if
test -s
/usr
/bin
/ranlib
; then
/usr
/bin
/ranlib
$(LIB
); else exit
0; fi
65 testmlc
: $(LIB
) testmlc.o
66 $(CC
) -o
$@ testmlc.o
$(LIB
)
68 testmem
: $(LIB
) testmem.o
69 $(CC
) -o
$@ testmem.o
$(LIB
)
72 $(LINT
) $(CFLAGS
) $(SRCS
) testmlc.c testmem.c
77 tostring.o malloc.o dump.o
: tostring.h