source: trunk/athena/bin/dent/Makefile.in @ 13591

Revision 13591, 837 bytes checked in by danw, 25 years ago (diff)
redo in Athena coding style, add read_line so it works on files with lines > 1024 characters long, fix warnings, and build with warnings enabled
Line 
1# $Id: Makefile.in,v 1.2 1999-09-16 00:02:55 danw Exp $
2
3SHELL=/bin/sh
4VPATH=@srcdir@
5INSTALL=@INSTALL@
6INSTALL_PROGRAM=@INSTALL_PROGRAM@
7srcdir=@srcdir@
8top_srcdir=@top_srcdir@
9prefix=@prefix@
10exec_prefix=@exec_prefix@
11bindir=@bindir@
12mandir=@mandir@
13
14CC=@CC@
15DEFS=@DEFS@
16CPPFLAGS=@CPPFLAGS@
17CFLAGS=@CFLAGS@ ${WARN_CFLAGS} ${ERROR_CFLAGS}
18LDFLAGS=@LDFLAGS@
19LIBS=@LIBS@
20ALL_CFLAGS=${CPPFLAGS} ${CFLAGS} ${DEFS}
21
22all: dent
23
24dent: dent.o
25        ${CC} ${LDFLAGS} -o dent dent.o ${LIBS}
26
27.c.o:
28        ${CC} -c ${ALL_CFLAGS} $<
29
30check:
31
32install:
33        ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir}
34        ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
35        ${INSTALL_PROGRAM} dent ${DESTDIR}${bindir}
36        ${INSTALL} -m 444 ${srcdir}/dent.1 ${DESTDIR}${mandir}/man1
37
38clean:
39        rm -f dent.o dent
40
41distclean: clean
42        rm -f config.cache config.log config.status Makefile
Note: See TracBrowser for help on using the repository browser.