# $Id: Makefile.in,v 1.2 2000-04-18 04:22:37 ghudson Exp $

SHELL=/bin/sh
VPATH=@srcdir@
INSTALL=@INSTALL@
INSTALL_PROGRAM=@INSTALL_PROGRAM@
INSTALL_DATA=@INSTALL_DATA@
MKDIR_P=@MKDIR_P@
srcdir=@srcdir@
top_srcdir=@top_srcdir@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
lbindir=@lbindir@
mandir=@mandir@

CC=@CC@
DEFS=@DEFS@
CPPFLAGS=@CPPFLAGS@
CFLAGS=@CFLAGS@
LDFLAGS=@LDFLAGS@
LIBS=@LIBS@
ALL_CFLAGS=${CPPFLAGS} ${CFLAGS} ${DEFS}

all: attachandrun

attachandrun: attachandrun.o
	${CC} ${LDFLAGS} -o attachandrun attachandrun.o ${LIBS}

.c.o:
	${CC} -c ${ALL_CFLAGS} $<

check:

install:
	${MKDIR_P} ${DESTDIR}${lbindir}
	${MKDIR_P} ${DESTDIR}${mandir}/man1
	${INSTALL_PROGRAM} attachandrun ${DESTDIR}${lbindir}
	${INSTALL_DATA} ${srcdir}/attachandrun.1 ${DESTDIR}${mandir}/man1

clean:
	rm -f attachandrun.o attachandrun

distclean: clean
	rm -f config.cache config.log config.status Makefile
