head	1.2;
access;
symbols
	PETIDOMO_4_0b6:1.2
	PETIDOMO_4_0b5:1.2
	PETIDOMO_4_0b4:1.2
	PETIDOMO_4_0b3:1.2
	BEFORETHL:1.2
	petidomo-2-2:1.1.1.1
	petidomo:1.1.1;
locks; strict;
comment	@# @;


1.2
date	2000.12.16.13.06.03;	author simons;	state Exp;
branches;
next	1.1;

1.1
date	2000.12.16.12.38.50;	author simons;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2000.12.16.12.38.50;	author simons;	state Exp;
branches;
next	;


desc
@@


1.2
log
@- Added GNU GPL copyright headers.
- Cleaned build process up.
@
text
@#
# Build the libmpools library.
#
# $Header: /d1/e/petidomo/cvs/petidomo/source/libmpools/Makefile,v 1.4 2000/12/14 15:14:36 simons Exp $
#

CC 		= gcc
AR 		= ar
RANLIB		= ranlib

CFLAGS		= -Wall -pedantic -O3
CPPFLAGS	=
LDFLAGS		=

.SUFFIXES:
.SUFFIXES:	.c .o

.c.o:
	$(CC) $(CFLAGS) $(CPPFLAGS) -c $<

libmpools.a:	mpools.o
	$(AR) cr libmpools.a mpools.o
	$(RANLIB) libmpools.a

realclean distclean clean::
	rm -f libmpools.a mpools.o
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
# libmpools Makefile
d4 1
a4 1
# $Header: /usr/local/libdata/cvs/c-lib/libmpools/Makefile,v 1.27 1998/08/16 21:36:29 simons Exp $
d7 3
a9 5
# Make Rules:
# ===========
#
.c.o:
	$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
d11 3
d15 2
a16 5
# Compiler Flags:
# ===============
#
CFLAGS  = -Wall
CPPFLAGS=
d18 2
d21 3
a23 15
#
# Labels:
# =======
#
SRCS 	= mpools.c
OBJS	= $(SRCS:.c=.o)
MANFILES= $(SRCS:.c=.3)


#
# Targets
#
.PHONY: all man clean realclean distclean depend

all:	libmpools.a
d25 2
a26 30
man:	mp_malloc.3

clean:
	rm -f libmpools.a *.o *.3 *.core

realclean:	clean
	rm -rf man3

distclean:	realclean

depend:
	makedepend -Y /usr/include $(SRCS)
	@@rm -f Makefile.bak

mp_malloc.3:	mpools.c
	c2man -impools.h -g mpools.c;


#
# Actions
#
libmpools.a:	$(OBJS)
	rm -f $@@
	$(AR) cr $@@ $(OBJS)
	$(RANLIB) $@@


#
# Dependencies
#
@


1.1.1.1
log
@Imported Petidomo 2.2 as found on www.petidomo.com.
@
text
@@
