date and time created 88/10/19 11:50:43 by bostic
[unix-history] / usr / src / old / btlgammon / Makefile
CommitLineData
493d9d92
KB
1#
2# Copyright (c) 1987 Regents of the University of California.
3# All rights reserved. The Berkeley software License Agreement
4# specifies the terms and conditions for redistribution.
5#
6# @(#)Makefile 5.1 (Berkeley) %G%
7#
8CFLAGS= -O
9LIBC= /lib/libc.a
10SRCS= btlgammon.c
11OBJS=
12
13all: btlgammon
14
15btlgammon: ${OBJS} ${LIBC}
16 ${CC} -o $@ ${CFLAGS} ${SRCS}
17
18clean: FRC
19 rm -f ${OBJS} core btlgammon
20
21depend: FRC
22 mkdep -p ${CFLAGS} ${SRCS}
23
24install: FRC
25 install -s -o games -g bin -m 4700 btlgammon ${DESTDIR}/usr/games/hide
26 install -c -o games -g bin -m 444 backrules ${DESTDIR}/usr/games/lib
27 (cd ${DESTDIR}/usr/games; rm -f btlgammon; ln -s dm btlgammon; chown games.bin btlgammon)
28
29lint: FRC
30 lint ${CFLAGS} ${SRCS}
31
32tags: FRC
33 ctags ${SRCS}
34
35FRC:
36
37# DO NOT DELETE THIS LINE -- mkdep uses it.
38# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
39
40btlgammon: btlgammon.c /usr/include/stdio.h
41
42# IF YOU PUT ANYTHING HERE IT WILL GO AWAY