source: trunk/athena/bin/getcluster/Makefile @ 2671

Revision 2671, 758 bytes checked in by epeisach, 35 years ago (diff)
Changed depend line to put dependencies in Make.depend.
Line 
1# Makefile for getcluster
2#
3#       MIT Project Athena
4#
5#       $Source: /afs/dev.mit.edu/source/repository/athena/bin/getcluster/Makefile,v $
6#       $Header: /afs/dev.mit.edu/source/repository/athena/bin/getcluster/Makefile,v 1.5 1990-02-09 09:35:42 epeisach Exp $
7
8DESTDIR=
9CFLAGS=-O
10PROGS= getcluster
11
12all: ${PROGS}
13
14getcluster:     getcluster.o
15        $(CC) getcluster.o -o getcluster -lhesiod
16
17install: ${PROGS}
18        for i in ${PROGS} ; do  \
19                install -c -m 755 -s $$i ${DESTDIR}/bin/athena/$$i; \
20        done
21        install -c -m 644 getcluster.8 ${DESTDIR}/usr/man/man8
22        install -c -m 755 save_cluster_info.sh \
23                ${DESTDIR}/etc/athena/save_cluster_info
24
25clean:  ;
26        -rm -f getcluster getcluster.o *~
27
28depend:
29        touch Make.depend; /usr/athena/makedepend -fMake.depend ${CFLAGS} getcluster.c
30
31       
Note: See TracBrowser for help on using the repository browser.