# Generated automatically from Makefile.in by configure.
# 
#   Newtl!  Newton/UNIX Communication System!
#   Copyright (C) 1995-1997  A. E. Hall
# 
#   This program is free software; you can redistribute it and/or modify
#   it under the terms of the GNU General Public License as published by
#   the Free Software Foundation; either version 2 of the License, or
#   (at your option) any later version.
# 
#   This program is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU General Public License for more details.
# 
#   You should have received a copy of the GNU General Public License
#   along with this program; if not, write to the Free Software
#   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
# 

#### system configuration section ####

NewtonDir  = ../Newton

srcdir     = .
VPATH      = .:RCS:$(NewtonDir)

CXX = c++
CXXFLAGS = -g -O
LDFLAGS = 

#### end of system configuration section ####

SHELL = /bin/sh

SUBDIRS = 

INCLUDES   = -I$(srcdir) -I$(NewtonDir)
LIBS       = -L$(NewtonDir) -lNewton -lg++
OBJECTS    = newtl.o getopt.o getopt1.o
FLAGS	   = $(CXXFLAGS) $(INCLUDES)

.SUFFIXES:	.C .C,v .o .c

all:		newtl

newtl:		$(NewtonDir)/libNewton.a $(OBJECTS)
		rm -f $(@)
		$(CXX) $(FLAGS) $(LDFLAGS) -o $(@) $(OBJECTS) $(LIBS)

.C,v.o:
		$(CO) $(<)
		$(CXX) $(FLAGS) -c $(<) $(DEFINES)

.C.o:
		$(CXX) $(FLAGS) -c $(<) $(DEFINES)

newtl.o:	newtl.C newtl.H

$(NewtonDir)/libNewton.a:
		cd $(NewtonDir) && $(MAKE) libNewton.a

clean mostlyclean distclean maintainer-clean::
		rm -f newtl *.o ANNOUNCE newtl.html

distclean::
		rm -f Makefile

maintainer-clean::
		co RCS/*
