annotate rogue4/Makefile.in @ 87:f871cb0539d3

Don't set the player's ISRUN flag. rogue4 and rogue5 set the player's ISRUN flag upon exit from sleep or holding. This is apparently supposed to indicate that the player can move again. What it actually does is make it harder for monsters to hit the player, until the flag is reset. As this behavior makes little sense and seems like a cheat, it has been deemed a bug and removed.
author John "Elwin" Edwards
date Tue, 13 Aug 2013 09:19:56 -0700
parents a1dc75e38e73
children 8f7c082fde46
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
51
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
1 #
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
2 # Makefile for rogue
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
3 # @(#)Makefile 4.13 (Berkeley) 1/23/82
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
4 #
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
5 # Rogue: Exploring the Dungeons of Doom
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
6 # Copyright (C) 1980, 1981, 1982 Michael Toy, Ken Arnold and Glenn Wichman
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
7 # All rights reserved.
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
8 #
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
9 # See the file LICENSE.TXT for full copyright and licensing information.
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
10 #
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
11
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
12 DISTNAME=@PACKAGE_TARNAME@@PACKAGE_VERSION@
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
13 PACKAGE_TARNAME = @PACKAGE_TARNAME@-@PACKAGE_VERSION@
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
14 PROGRAM=@PROGRAM@
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
15
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
16 CC = @CC@
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
17 LIBS = @LIBS@
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
18
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
19 #SCOREFILE=\"/usr/local/games/roguelike/rogue4.scr\"
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
20 SCOREFILE=@SCOREFILE@
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
21 #LOGFILE=\"/usr/local/games/roguelike/rogue4.log\"
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
22 LOGFILE=@LOGFILE@
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
23 #SAVEDIR=\"/usr/local/games/roguelike/rogue4save/\"
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
24 SAVEDIR=@SAVEDIR@
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
25 #LOCKFILE=\"/usr/local/games/roguelike/rogue4save/rogue4.lck\"
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
26 LOCKFILE=@LOCKFILE@
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
27 #GROUPOWNER=games
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
28 GROUPOWNER=@GROUPOWNER@
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
29
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
30 DESTDIR=@DESTDIR@
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
31 prefix=@prefix@
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
32 exec_prefix=@exec_prefix@
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
33 datarootdir=@datarootdir@
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
34 bindir=@bindir@
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
35 mandir=@mandir@
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
36 man6dir=$(mandir)/man6
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
37 docdir=@docdir@
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
38
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
39 HDRS= rogue.h extern.h
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
40 DOBJS= vers.o extern.o armor.o chase.o command.o daemon.o daemons.o \
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
41 fight.o init.o io.o list.o main.o misc.o monsters.o move.o \
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
42 new_level.o options.o pack.o passages.o potions.o rings.o rip.o \
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
43 rooms.o save.o scrolls.o state.o sticks.o things.o weapons.o wizard.o\
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
44 xcrypt.o mdport.o
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
45 OBJS= $(DOBJS) mach_dep.o
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
46 CFILES= vers.c extern.c armor.c chase.c command.c daemon.c daemons.c \
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
47 fight.c init.c io.c list.c main.c misc.c monsters.c move.c \
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
48 new_level.c options.c pack.c passages.c potions.c rings.c rip.c \
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
49 rooms.c save.c scrolls.c state.c sticks.c things.c weapons.c wizard.c \
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
50 mach_dep.c xcrypt.c mdport.c
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
51 MISC= Makefile LICENSE.TXT rogue.6 rogue.me
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
52
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
53 CFLAGS= -O3
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
54 CRLIB = -lcurses
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
55 RM = rm -f
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
56 TAR = tar
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
57 TOUCH=touch
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
58 MKDIR=mkdir
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
59 CHGRP=chgrp
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
60 CHMOD=chmod
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
61 INSTALL=@INSTALL@
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
62
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
63 SF=
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
64 NAMELIST=
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
65 NL=
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
66 #MACHDEP= -DMAXLOAD=40 -DLOADAV -DCHECKTIME=4
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
67 MACHDEP=
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
68
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
69 .c.o:
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
70 @echo $(CC) -c $(CFLAGS) $*.c
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
71 @$(CC) -c $(CFLAGS) $*.c -o $*.o
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
72 # @cpp -P $(CFLAGS) $*.c | ./xstr -v -c -
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
73 # @cc -c $(CFLAGS) x.c
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
74 # @mv x.o $*.o
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
75
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
76 @PROGRAM@: $(HDRS) $(OBJS) # xs.o
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
77 # @rm -f x.c
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
78 # $(CC) $(LDFLAGS) xs.o $(OBJS) $(CRLIB)
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
79 $(CC) $(LDFLAGS) $(OBJS) $(LIBS) -o $@
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
80
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
81 main.o: main.c $(HDRS)
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
82 $(CC) -c $(CFLAGS) -o $@ main.c
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
83
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
84 vers.o:
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
85 $(CC) -c $(CFLAGS) vers.c
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
86
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
87 mach_dep.o: mach_dep.c
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
88 $(CC) -c $(CFLAGS) $(SF) $(NL) $(MACHDEP) mach_dep.c
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
89
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
90 xs.o: strings
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
91 ./xstr
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
92 $(CC) -c $(CFLAGS) xs.c
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
93
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
94 xstr: xstr.c
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
95 $(CC) -s -O -o xstr xstr.c
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
96
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
97 findpw: findpw.c xcrypt.c
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
98 $(CC) -s -o findpw findpw.c xcrypt.c
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
99
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
100 prob: prob.o extern.o xs.o
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
101 $(CC) -O -o prob prob.o extern.o xs.o
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
102
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
103 prob.o: prob.c rogue.h
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
104 $(CC) -O -c prob.c
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
105
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
106 clean:
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
107 rm -f $(POBJS) $(OBJS) core a.out p.out @PROGRAM@ strings make.out rogue.tar vgrind.* x.c x.o xs.c xs.o linterrs findpw distmod.o xs.po xstr rogue rogue.exe rogue.tar.gz rogue.cat rogue.doc xstr.exe
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
108
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
109 maintainer-clean:
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
110 make clean
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
111 $(RM) Makefile config.h
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents:
diff changeset
112 $(RM) config.status config.log
a1dc75e38e73 rogue4: ported to autoconf.
elwin
parents: