head	1.3;
access;
symbols;
locks
	root:1.3; strict;
comment	@# @;


1.3
date	2001.10.12.13.51.12;	author root;	state Exp;
branches;
next	1.2;

1.2
date	2000.12.24.00.44.36;	author root;	state Exp;
branches;
next	1.1;

1.1
date	2000.12.24.00.42.11;	author root;	state Exp;
branches;
next	;


desc
@@


1.3
log
@#
@
text
@######################################################################
#
# Makefile:
#
# Copyright (c) 2000 James McKenzie <james@@fishsoup.dhs.org>.
#
# $Id: Makefile,v 1.2 2000/12/24 00:44:36 root Exp root $
#
# $Log: Makefile,v $
# Revision 1.2  2000/12/24 00:44:36  root
# #
#
# Revision 1.1  2000/12/24 00:42:11  root
# #
#
#
#
######################################################################

include ../make.inc

SRCS=bb.c
HSRCS=bb.h
LIB=libbb.a
PROTOS=

RCSGUFF=${SRCS} ${HSRCS} Makefile 

DEFINES=
INCLUDES  = -I../shared
CFLAGS= $(OPT) $(DEFINES) $(INCLUDES)  ${WARN}

OBJS = $(SRCS:.c=.o) 

all: ${LIB} 

${LIB}:${LIB}(${OBJS})

${LIB}(%.o):%.o
	ar rcs ${LIB} $<

%.o:%.c
	$(CC) $(CFLAGS) $(INCLUDES) -c $<

clean:
	/bin/rm -rf *% *~ ${OBJS} core a.out ${LIB}

depend:
	${MAKEDEPEND} -f- -s "# DO NOT DELETE" -- $(INCLUDES) -- $(SRCS)  > .depend

nodepend:
	/bin/rm -f .depend

checkin:
	${RCSCI} -m# -l ${RCSGUFF}
	
tidy:checkin
	${INDENT} -ts0 -i2 ${SRCS} ${HS} 

ifeq (.depend,$(wildcard .depend))
  include .depend
endif

@


1.2
log
@#
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.1 2000/12/24 00:42:11 root Exp root $
d10 3
d24 1
a24 1
LIB=bb.a
d49 2
a50 1
	${MAKEDEPEND} -s "# DO NOT DELETE" -- $(INCLUDES) -- $(SRCS) 
d52 1
a52 1
	${MAKEDEPEND} -s "# DO NOT DELETE"
d60 3
a62 1
# DO NOT DELETE
a63 12
bb.o: /usr/include/stdio.h /usr/include/features.h /usr/include/sys/cdefs.h
bb.o: /usr/include/gnu/stubs.h
bb.o: /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/stddef.h
bb.o: /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/stdarg.h
bb.o: /usr/include/bits/types.h /usr/include/libio.h /usr/include/_G_config.h
bb.o: /usr/include/bits/stdio_lim.h /usr/include/signal.h
bb.o: /usr/include/bits/sigset.h /usr/include/bits/signum.h
bb.o: /usr/include/time.h /usr/include/bits/siginfo.h
bb.o: /usr/include/bits/sigaction.h /usr/include/bits/sigcontext.h
bb.o: /usr/include/asm/sigcontext.h /usr/include/bits/sigstack.h
bb.o: /usr/include/sys/time.h /usr/include/sys/select.h
bb.o: /usr/include/bits/select.h /usr/include/bits/time.h
@


1.1
log
@#
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.10 2000/11/23 23:45:16 root Exp $
d10 3
a37 3

%.o:../shared/%.c
	$(CC) $(CFLAGS) $(INCLUDES) -c -o $@@ $<
@
