|
|
1.1 ! root 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 4.5 (Berkeley) 9/22/87 ! 7: # ! 8: CFLAGS= -O ! 9: LIBC= /lib/libc.a ! 10: SRCS= quiz.c ! 11: OBJS= ! 12: ! 13: all: quiz ! 14: ! 15: quiz: ${LIBC} ! 16: ${CC} -o $@ ${CFLAGS} ${SRCS} ! 17: ! 18: clean: FRC ! 19: rm -f ${OBJS} core quiz ! 20: ! 21: depend: FRC ! 22: mkdep -p ${CFLAGS} ${SRCS} ! 23: ! 24: install: FRC ! 25: -[ -d ${DESTDIR}/usr/games/lib/quiz.k ] || mkdir ${DESTDIR}/usr/games/lib/quiz.k ! 26: chmod 700 ${DESTDIR}/usr/games/lib/quiz.k ! 27: chown games.bin ${DESTDIR}/usr/games/lib/quiz.k ! 28: cd quiz.k; install -c -o games -g bin -m 400 * ${DESTDIR}/usr/games/lib/quiz.k ! 29: install -s -o games -g bin -m 700 quiz ${DESTDIR}/usr/games/hide ! 30: (cd ${DESTDIR}/usr/games; rm -f quiz; ln -s dm quiz; chown games.bin quiz) ! 31: ! 32: lint: FRC ! 33: lint ${CFLAGS} ${SRCS} ! 34: ! 35: tags: FRC ! 36: ctags ${SRCS} ! 37: ! 38: FRC: ! 39: ! 40: # DO NOT DELETE THIS LINE -- mkdep uses it. ! 41: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. ! 42: ! 43: quiz: quiz.c /usr/include/stdio.h /usr/include/signal.h ! 44: quiz: /usr/include/machine/trap.h ! 45: ! 46: # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.