# Generated automatically from Makefile.in by configure.
srcdir=		.
prefix=		/cygdrive/c/progra~1/groff
exec_prefix=	${prefix}

BINDIR=		${exec_prefix}/bin
MANDIR=		${prefix}/man
INSTALL=	/usr/bin/install -c
INSTALL_PROGRAM=${INSTALL}
INSTALL_DATA=	${INSTALL} -m 644
CC=		gcc
CFLAGS=		-g -O2 -Wmissing-prototypes -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wnested-externs -pedantic -fno-common
CPPFLAGS=	
LDFLAGS=	-g

all:		deroff

deroff:		deroff.o misc.o getopt.o getopt1.o
		$(CC) -o $@ $(LDFLAGS) deroff.o misc.o getopt.o getopt1.o $(LIBS)

install:	all
		$(INSTALL) -m 755 -d $(BINDIR)
		$(INSTALL_PROGRAM) -s deroff $(BINDIR)/deroff
		$(INSTALL) -m 755 -d $(MANDIR)/man1
		$(INSTALL_DATA) deroff-en.1 $(MANDIR)/man1/deroff.1

install.msg:
		gencat -o ${prefix}/share/locale/en_US/LC_MESSAGES/deroff.cat deroff-en.msg

.c.o:
		$(CC) -c $(CPPFLAGS) $(CFLAGS) $<

#{{{script}}}#{{{  clean
clean:
		rm -f *.out core *.o
#}}}
#{{{  clobber
clobber:	distclean

distclean:	clean
		rm -f deroff config.cache config.h config.log config.status Makefile
#}}}
#{{{  tar
tar:		clobber
		(b=`pwd`; b=`basename $$b`; cd ..; tar zcvf $$b.tar.gz $$b/COPYING $$b/INSTALL $$b/Makefile.in $$b/README $$b/NEWS $$b/configure $$b/install-sh $$b/[a-z]*.*)
#}}}
