ALL=all.internal
host = coherent
target = coherent
subdir =
VPATH = .
GNULIB	= gnu.a

CFLAGS	= -O 
CC	= cc

SHELL	= /bin/sh

HDRS	= obstack.h regex.h getopt.h
SRCS	= obstack.c regex.c getopt.c getopt1.c
OBJS	= obstack.o regex.o getopt.o getopt1.o


.c.o:
	$(CC) $(CFLAGS) $(OS) -c $< -o $@ 

all:	$(GNULIB)

$(GNULIB): $(OBJS)
	$(AR) cru $@ $?
	ranlib $@

clean:
	rm -f $(GNULIB) *.o *~ '#'*

realclean:	clean
	rm -f Makefile

distclean: realclean


tags:	$(SRCS) $(HDRS)
	etags $(SRCS) $(HDRS)

TAGS:	tags
