1# 2# Copyright (c) 1987 Regents of the University of California. 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms are permitted 6# provided that this notice is preserved and that due credit is given 7# to the University of California at Berkeley. The name of the University 8# may not be used to endorse or promote products derived from this 9# software without specific written prior permission. This software 10# is provided ``as is'' without express or implied warranty. 11# 12# @(#)Makefile 5.2 (Berkeley) 12/29/87 13# 14# -DLOG log games in /usr/adm 15CFLAGS= -O 16LIBC= /lib/libc.a 17SRCS= dm.c 18OBJS= 19 20all: dm 21 22dm: ${LIBC} 23 ${CC} -o $@ ${CFLAGS} dm.c 24 25clean: FRC 26 rm -f core dm 27 28depend: FRC 29 mkdep -p ${CFLAGS} ${SRCS} 30 31install: FRC 32 install -s -o games -g kmem -m 6755 dm ${DESTDIR}/usr/games 33# install -c -o games -g bin -m 444 dm.config ${DESTDIR}/usr/games 34 35lint: FRC 36 lint ${CFLAGS} ${SRCS} 37 38tags: FRC 39 ctags ${SRCS} 40 41FRC: 42 43# DO NOT DELETE THIS LINE -- mkdep uses it. 44# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. 45 46dm: dm.c /usr/include/sys/param.h /usr/include/sys/types.h 47dm: /usr/include/signal.h /usr/include/machine/trap.h 48dm: /usr/include/machine/machparam.h /usr/include/sys/file.h 49dm: /usr/include/sys/time.h /usr/include/time.h /usr/include/sys/resource.h 50dm: /usr/include/pwd.h /usr/include/utmp.h /usr/include/nlist.h 51dm: /usr/include/stdio.h /usr/include/ctype.h 52 53# IF YOU PUT ANYTHING HERE IT WILL GO AWAY 54