cleanup, add manual page
[unix-history] / usr / src / games / rogue / Makefile
index c8ea546..be27f3d 100644 (file)
@@ -3,13 +3,18 @@
 # All rights reserved.
 #
 # Redistribution and use in source and binary forms are permitted
 # All rights reserved.
 #
 # Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of California at Berkeley. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific written prior permission. This software
-# is provided ``as is'' without express or implied warranty.
+# 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.2 (Berkeley) %G%
+#      @(#)Makefile    5.4 (Berkeley) %G%
 #
 CFLAGS=        -O -DUNIX -DUNIX_BSD4_2
 LIBC=  /lib/libc.a
 #
 CFLAGS=        -O -DUNIX -DUNIX_BSD4_2
 LIBC=  /lib/libc.a
@@ -20,20 +25,20 @@ OBJS=       curses.o hit.o init.o inventory.o level.o machdep.o main.o \
        message.o monster.o move.o object.o pack.o play.o random.o ring.o \
        room.o save.o score.o spec_hit.o throw.o trap.o use.o zap.o
 
        message.o monster.o move.o object.o pack.o play.o random.o ring.o \
        room.o save.o score.o spec_hit.o throw.o trap.o use.o zap.o
 
-all: pdrogue
+all: rogue
 
 
-pdrogue: ${OBJS} ${LIBC}
+rogue: ${OBJS} ${LIBC}
        ${CC} ${OBJS} -o $@ -lcurses -ltermlib
 
 clean: FRC
        ${CC} ${OBJS} -o $@ -lcurses -ltermlib
 
 clean: FRC
-       rm -f ${OBJS} core pdrogue
+       rm -f ${OBJS} core rogue
 
 depend: FRC
        mkdep ${CFLAGS} ${SRCS}
 
 install: FRC
 
 depend: FRC
        mkdep ${CFLAGS} ${SRCS}
 
 install: FRC
-       install -s -o games -g bin -m 4700 pdrogue ${DESTDIR}/usr/games/hide
-       (cd ${DESTDIR}/usr/games; rm -f pdrogue; ln -s dm pdrogue; chown games.bin pdrogue)
+       install -s -o games -g bin -m 4700 rogue ${DESTDIR}/usr/games/hide
+       (cd ${DESTDIR}/usr/games; rm -f rogue; ln -s dm rogue; chown games.bin rogue)
 
 lint: FRC
        lint ${CFLAGS} ${SRCS}
 
 lint: FRC
        lint ${CFLAGS} ${SRCS}