#
#  Makefile for internal RIP-Term
#
#
# ----------------------------------
#  T-BBS (c) S.Runge  10/94 
#
#
#MBOXHOME=`./.MBOXHOME`
CC=gcc
AR=ar

CFLAGS= -O2 -s -w -D_ANSI -D_POSIX_SOURCE   \
#	-DHOME="\"$(MBOXHOME)"\" 
#	-DBIN="\"$(MBOXHOME)"\" 

OBJ=    test.o rip_cmd.o
OBJ2=






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

all:	
	@echo "test for riplib...."
	@if ! test -f ./libRIPTerm.a ; then  make libRIP.a ; \
		else \
		echo "ok"; \
		echo; fi



libRIPTerm.a: $(OBJ) $(OBJ2) 
	$(AR) rcsv libRIPTerm.a $(OBJ) $(OBJ2) 

dep:
	rm -f .depend
	gcc -MM *.c >.depend

.depend:
	gcc -MM *.c >.depend

clean:
	rm -f *~ *.o  libRIPTerm.a DEAD*

include .depend


