# Generated automatically from Makefile.in by configure.
# @configure_output@
# This file is used by Autoconf to make the real Makefile.
# DO NOT EDIT THIS FILE!
# If you want to change something do it to the Makefile autoconf 
# creates. You should never have to edit this file.

CC= gcc
LIBS = /home/devel/libpng-1.2.51/libpng.a /home/devel/zlib-1.2.8/libz.a /home/devel/jpeg-9a/libjpeg.a -lXm -lXt -lXext -lX11 -lsocket -lgen -lnsl -lm 
CFLAGS = -O -DSYSV -DSVR4
RANLIB = :

#
# Makefile for libnut (NCSA Unix Tools Library)
#

ODIR=./objs
OBJDIR=objs
LIB=libnut.a
####Set in main Mosaic Makefile -- uncomment if not compiled under Mosaic

OBJ=$(ODIR)/mm.o \
$(ODIR)/str-tools.o \
$(ODIR)/system.o \
$(ODIR)/url-utils.o \
$(ODIR)/ellipsis.o

all: objs $(LIB)

$(LIB): $(OBJ)
	-rm -f $(LIB)
	ar rv $(LIB) $(OBJ)
	$(RANLIB) $(LIB)

$(ODIR)/mm.o: mm.c mm.h
	$(CC) $(CFLAGS) -c mm.c -o $(ODIR)/mm.o

$(ODIR)/str-tools.o: str-tools.c
	$(CC) $(CFLAGS) -c str-tools.c -o $(ODIR)/str-tools.o

$(ODIR)/system.o: system.c system.h
	$(CC) $(CFLAGS) -c system.c -o $(ODIR)/system.o

$(ODIR)/url-utils.o: url-utils.c url-utils.h
	$(CC) $(CFLAGS) -c url-utils.c -o $(ODIR)/url-utils.o

$(ODIR)/ellipsis.o: ellipsis.c
	$(CC) $(CFLAGS) -c ellipsis.c -o $(ODIR)/ellipsis.o

objs:
	mkdir objs

clean:
	rm -f $(LIB) $(OBJ)
