BSD 4_3_Tahoe release
[unix-history] / usr / src / games / quiz / Makefile
index 9c1d17e..f32c703 100644 (file)
@@ -1,52 +1,46 @@
 #
 #
-# Copyright (c) 1987 The Regents of the University of California.
-# All rights reserved.
+# Copyright (c) 1987 Regents of the University of California.
+# All rights reserved.  The Berkeley software License Agreement
+# specifies the terms and conditions for redistribution.
 #
 #
-# 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    4.6 (Berkeley) %G%
+#      @(#)Makefile    4.5     (Berkeley)      9/22/87
 #
 CFLAGS=        -O
 LIBC=  /lib/libc.a
 SRCS=  quiz.c
 OBJS=
 #
 CFLAGS=        -O
 LIBC=  /lib/libc.a
 SRCS=  quiz.c
 OBJS=
-MAN=   quiz.0
 
 all: quiz
 
 quiz: ${LIBC}
 
 all: quiz
 
 quiz: ${LIBC}
-       ${CC} -o $@ ${CFLAGS} $@.c
+       ${CC} -o $@ ${CFLAGS} ${SRCS}
 
 
-clean:
+clean: FRC
        rm -f ${OBJS} core quiz
 
        rm -f ${OBJS} core quiz
 
-cleandir: clean
-       rm -f ${MAN} tags .depend
-
-depend: ${SRCS}
+depend: FRC
        mkdep -p ${CFLAGS} ${SRCS}
 
        mkdep -p ${CFLAGS} ${SRCS}
 
-install: ${MAN}
+install: FRC
        -[ -d ${DESTDIR}/usr/games/lib/quiz.k ] || mkdir ${DESTDIR}/usr/games/lib/quiz.k
        chmod 700 ${DESTDIR}/usr/games/lib/quiz.k
        chown games.bin ${DESTDIR}/usr/games/lib/quiz.k
        cd quiz.k; install -c -o games -g bin -m 400 * ${DESTDIR}/usr/games/lib/quiz.k
        install -s -o games -g bin -m 700 quiz ${DESTDIR}/usr/games/hide
        (cd ${DESTDIR}/usr/games; rm -f quiz; ln -s dm quiz; chown games.bin quiz)
        -[ -d ${DESTDIR}/usr/games/lib/quiz.k ] || mkdir ${DESTDIR}/usr/games/lib/quiz.k
        chmod 700 ${DESTDIR}/usr/games/lib/quiz.k
        chown games.bin ${DESTDIR}/usr/games/lib/quiz.k
        cd quiz.k; install -c -o games -g bin -m 400 * ${DESTDIR}/usr/games/lib/quiz.k
        install -s -o games -g bin -m 700 quiz ${DESTDIR}/usr/games/hide
        (cd ${DESTDIR}/usr/games; rm -f quiz; ln -s dm quiz; chown games.bin quiz)
-       install -c -o bin -g bin -m 444 ${MAN} ${DESTDIR}/usr/man/cat6
 
 
-lint: ${SRCS}
+lint: FRC
        lint ${CFLAGS} ${SRCS}
 
        lint ${CFLAGS} ${SRCS}
 
-tags: ${SRCS}
+tags: FRC
        ctags ${SRCS}
        ctags ${SRCS}
+
+FRC:
+
+# DO NOT DELETE THIS LINE -- mkdep uses it.
+# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
+
+quiz: quiz.c /usr/include/stdio.h /usr/include/signal.h
+quiz: /usr/include/machine/trap.h
+
+# IF YOU PUT ANYTHING HERE IT WILL GO AWAY