source: trunk/athena/bin/athdir/Makefile.in @ 13588

Revision 13588, 864 bytes checked in by danw, 25 years ago (diff)
compile with warnings
Line 
1# $Id: Makefile.in,v 1.2 1999-09-15 23:57:14 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: athdir
23
24athdir: athdir.o
25        ${CC} ${LDFLAGS} -o athdir athdir.o -lathdir ${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} athdir ${DESTDIR}${bindir}
36        ${INSTALL} -m 444 ${srcdir}/athdir.1 ${DESTDIR}${mandir}/man1
37
38clean:
39        rm -f athdir.o athdir
40
41distclean: clean
42        rm -f config.cache config.log config.status Makefile
Note: See TracBrowser for help on using the repository browser.