date and time created 87/12/12 17:22:15 by bostic
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sun, 13 Dec 1987 09:22:15 +0000 (01:22 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sun, 13 Dec 1987 09:22:15 +0000 (01:22 -0800)
SCCS-vsn: old/btlgammon/Makefile 5.1

usr/src/old/btlgammon/Makefile [new file with mode: 0644]

diff --git a/usr/src/old/btlgammon/Makefile b/usr/src/old/btlgammon/Makefile
new file mode 100644 (file)
index 0000000..777d808
--- /dev/null
@@ -0,0 +1,42 @@
+#
+# Copyright (c) 1987 Regents of the University of California.
+# All rights reserved.  The Berkeley software License Agreement
+# specifies the terms and conditions for redistribution.
+#
+#      @(#)Makefile    5.1     (Berkeley)      %G%
+#
+CFLAGS=        -O
+LIBC=  /lib/libc.a
+SRCS=  btlgammon.c
+OBJS=
+
+all: btlgammon
+
+btlgammon: ${OBJS} ${LIBC}
+       ${CC} -o $@ ${CFLAGS} ${SRCS}
+
+clean: FRC
+       rm -f ${OBJS} core btlgammon
+
+depend: FRC
+       mkdep -p ${CFLAGS} ${SRCS}
+
+install: FRC
+       install -s -o games -g bin -m 4700 btlgammon ${DESTDIR}/usr/games/hide
+       install -c -o games -g bin -m 444 backrules ${DESTDIR}/usr/games/lib
+       (cd ${DESTDIR}/usr/games; rm -f btlgammon; ln -s dm btlgammon; chown games.bin btlgammon)
+
+lint: FRC
+       lint ${CFLAGS} ${SRCS}
+
+tags: FRC
+       ctags ${SRCS}
+
+FRC:
+
+# DO NOT DELETE THIS LINE -- mkdep uses it.
+# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
+
+btlgammon: btlgammon.c /usr/include/stdio.h
+
+# IF YOU PUT ANYTHING HERE IT WILL GO AWAY