# Copyright (c) 1987 Regents of the University of California.
# Redistribution and use in source and binary forms are permitted
# provided that the above copyright notice and this paragraph are
# duplicated in all such forms and that any documentation,
# advertising materials, and other materials related to such
# distribution and use acknowledge that the software was developed
# by the University of California, Berkeley. The name of the
# University may not be used to endorse or promote products derived
# from this software without specific prior written permission.
# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
# @(#)Makefile 5.7 (Berkeley) 6/18/88
${CC} -o
$@
${CFLAGS} ${OBJS1} ${LIBS}
snscore
: ${OBJS2} ${LIBC}
${CC} -o
$@
${CFLAGS} ${OBJS2}
rm -f
${OBJS1} ${OBJS2} core snake snscore busy
mkdep
${CFLAGS} ${SRCS1} ${SRCS2}
install -s
-o games
-g bin
-m
4700 snake
${DESTDIR}/usr
/games
/hide
(cd
${DESTDIR}/usr
/games
; rm -f snake
; ln
-s dm snake
; chown games.bin snake
)
install -s
-o games
-g bin
-m
700 snscore
${DESTDIR}/usr
/games
/hide
(cd
${DESTDIR}/usr
/games
; rm -f snscore
; ln
-s dm snscore
; chown games.bin snscore
)
-[ -s
${DESTDIR}/usr
/games
/lib
/snakerawscores
] ||
install -c
-o games
-g bin
-m
600 /dev
/null
${DESTDIR}/usr
/games
/lib
/snakerawscores
# DO NOT DELETE THIS LINE -- mkdep uses it.
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
snake.o
: snake.c
/usr
/include/sys
/param.h
/usr
/include/sys
/types.h
snake.o
: /usr
/include/signal.h
/usr
/include/machine
/trap.h
snake.o
: /usr
/include/machine
/machparam.h
/usr
/include/machine
/endian.h
snake.o
: /usr
/include/pwd.h snake.h
/usr
/include/stdio.h
/usr
/include/assert.h
snake.o
: /usr
/include/sys
/types.h
/usr
/include/sgtty.h
/usr
/include/sys
/ioctl.h
snake.o
: /usr
/include/sys
/ttychars.h
/usr
/include/sys
/ttydev.h
snake.o
: /usr
/include/signal.h
/usr
/include/math.h
move.o
: move.c snake.h
/usr
/include/stdio.h
/usr
/include/assert.h
move.o
: /usr
/include/sys
/types.h
/usr
/include/sgtty.h
/usr
/include/sys
/ioctl.h
move.o
: /usr
/include/sys
/ttychars.h
/usr
/include/sys
/ttydev.h
move.o
: /usr
/include/signal.h
/usr
/include/machine
/trap.h
/usr
/include/math.h
snscore.o
: snscore.c
/usr
/include/stdio.h
/usr
/include/pwd.h
# IF YOU PUT ANYTHING HERE IT WILL GO AWAY