# Generated automatically from Makefile.in by configure.
#################################################################
#        makefile                                               #
#     CodaEditor Widget Set makefile                            #
#################################################################
CC = gcc
CFLAGS =  -I/usr/X11R6/include  -I. -DCACHE_BITMAPS -DCACHE_SIZE_LIMIT=300 -DCACHE_FID
OSTYPE = Linux

OBJS = MixedLabel.o XmTabs.o Ruler.o rotated.o strarray.o

library: directory $(OSTYPE)/libXtra.a

directory:
	if test ! -d $(OSTYPE); then mkdir -p $(OSTYPE); else echo; fi

$(OSTYPE)/libXtra.a:$(OBJS)
	rm -f $@
	ar ruv libXtra.a $(OBJS)
	if test -f /usr/bin/ranlib -o -f /bin/ranlib; then ranlib libXtra.a;fi
	cp libXtra.a $@

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


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