Mercurial > hg > early-roguelike
annotate urogue/Makefile.in @ 274:603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
author | John "Elwin" Edwards |
---|---|
date | Tue, 05 Sep 2017 21:03:26 -0400 |
parents | 51ddbe7b992d |
children | aa0eefcd7df6 |
rev | line source |
---|---|
256
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
1 # UltraRogue: The Ultimate Adventure in the Dungeons of Doom |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
2 # Copyright (C) 1985, 1986, 1992, 1993, 1995 Herb Chong |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
3 # All rights reserved. |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
4 # |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
5 # See the file LICENSE.TXT for full copyright and licensing information. |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
6 |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
7 # |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
8 # Makefile for urogue |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
9 # |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
10 |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
11 DISTNAME=urogue1.0.7 |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
12 |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
13 HDRS = dict.h dictutil.h rogue.h |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
14 OBJS = armor.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
15 artifact.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
16 bag.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
17 chase.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
18 command.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
19 daemon.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
20 daemons.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
21 dict.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
22 dictutil.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
23 encumb.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
24 fight.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
25 getplay.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
26 ident.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
27 init.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
28 io.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
29 list.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
30 magic.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
31 main.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
32 maze.o \ |
257
c4b12d2d1dcd
UltraRogue: fix various build failures.
John "Elwin" Edwards
parents:
256
diff
changeset
|
33 mdport.o \ |
256
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
34 memory.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
35 misc.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
36 monsdata.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
37 monsters.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
38 move.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
39 newlvl.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
40 options.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
41 pack.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
42 passages.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
43 player.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
44 potions.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
45 random.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
46 rings.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
47 rip.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
48 rooms.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
49 save.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
50 scrolls.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
51 state.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
52 status.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
53 sticks.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
54 things.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
55 trader.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
56 verify.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
57 vers.o \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
58 weapons.o \ |
257
c4b12d2d1dcd
UltraRogue: fix various build failures.
John "Elwin" Edwards
parents:
256
diff
changeset
|
59 wizard.o \ |
c4b12d2d1dcd
UltraRogue: fix various build failures.
John "Elwin" Edwards
parents:
256
diff
changeset
|
60 xcrypt.o |
256
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
61 |
273 | 62 PROGRAM =@PROGRAM@ |
256
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
63 |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
64 CFILES = armor.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
65 artifact.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
66 bag.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
67 chase.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
68 command.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
69 daemon.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
70 daemons.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
71 dict.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
72 dictutil.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
73 encumb.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
74 fight.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
75 getplay.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
76 ident.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
77 init.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
78 io.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
79 list.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
80 magic.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
81 main.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
82 maze.c \ |
257
c4b12d2d1dcd
UltraRogue: fix various build failures.
John "Elwin" Edwards
parents:
256
diff
changeset
|
83 mdport.c \ |
256
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
84 memory.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
85 misc.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
86 monsdata.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
87 monsters.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
88 move.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
89 newlvl.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
90 options.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
91 pack.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
92 passages.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
93 player.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
94 potions.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
95 random.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
96 rings.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
97 rip.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
98 rooms.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
99 save.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
100 scrolls.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
101 state.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
102 status.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
103 sticks.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
104 things.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
105 trader.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
106 verify.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
107 vers.c \ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
108 weapons.c \ |
257
c4b12d2d1dcd
UltraRogue: fix various build failures.
John "Elwin" Edwards
parents:
256
diff
changeset
|
109 wizard.c \ |
c4b12d2d1dcd
UltraRogue: fix various build failures.
John "Elwin" Edwards
parents:
256
diff
changeset
|
110 xcrypt.c |
256
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
111 |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
112 MISC= Makefile README LICENSE.TXT history.txt TODO |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
113 |
273 | 114 CC = @CC@ |
115 CPPFLAGS=@DEFS@ | |
116 CFLAGS= | |
117 CRLIB = @LIBS@ | |
256
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
118 RM = rm -f |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
119 TAR = tar |
274
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
120 INSTALL=@INSTALL@ |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
121 |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
122 SCOREFILE=@SCOREFILE@ |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
123 LOGFILE=@LOGFILE@ |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
124 SAVEDIR=@SAVEDIR@ |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
125 CHARDIR=@CHARDIR@ |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
126 GROUPOWNER=@GROUPOWNER@ |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
127 |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
128 DESTDIR= |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
129 prefix=@prefix@ |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
130 exec_prefix=@exec_prefix@ |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
131 bindir=@bindir@ |
256
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
132 |
273 | 133 .c.o: |
134 $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $*.o $*.c | |
135 | |
136 $(PROGRAM): $(OBJS) $(MAKEFILE) | |
256
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
137 $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(CRLIB) -o $@ |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
138 |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
139 clean: |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
140 rm -f $(OBJS) urogue a.out core *.map urogue.exe urogue.cat |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
141 |
274
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
142 install: $(PROGRAM) |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
143 touch test |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
144 if test ! -f $(DESTDIR)$(SCOREFILE) ; then \ |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
145 mkdir -p `dirname $(DESTDIR)$(SCOREFILE)` ; \ |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
146 $(INSTALL) -m 0664 test $(DESTDIR)$(SCOREFILE) ; fi |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
147 if test "x$(LOGFILE)" != "x" && test ! -f $(DESTDIR)$(LOGFILE) ; then \ |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
148 mkdir -p `dirname $(DESTDIR)$(LOGFILE)` ; \ |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
149 $(INSTALL) -m 0664 test $(DESTDIR)$(LOGFILE) ; fi |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
150 if test "x$(SAVEDIR)" != "x" && test ! -d $(DESTDIR)$(SAVEDIR) ; then \ |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
151 mkdir -p $(DESTDIR)$(SAVEDIR) ; fi |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
152 if test "x$(CHARDIR)" != "x" && test ! -d $(DESTDIR)$(CHARDIR) ; then \ |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
153 mkdir -p $(DESTDIR)$(CHARDIR) ; fi |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
154 mkdir -p $(DESTDIR)$(bindir) |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
155 $(INSTALL) -m 0755 $(PROGRAM) $(DESTDIR)$(bindir)/$(PROGRAM) |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
156 -if test "x$(GROUPOWNER)" != "x" ; then \ |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
157 chgrp $(GROUPOWNER) $(DESTDIR)$(SCOREFILE) ; \ |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
158 chgrp $(GROUPOWNER) $(DESTDIR)$(LOGFILE) ; \ |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
159 chgrp $(GROUPOWNER) $(DESTDIR)$(bindir)/$(PROGRAM) ; \ |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
160 chgrp $(GROUPOWNER) $(DESTDIR)$(SAVEDIR) ; \ |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
161 chgrp $(GROUPOWNER) $(DESTDIR)$(CHARDIR) ; \ |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
162 chmod 02755 $(DESTDIR)$(bindir)/$(PROGRAM) ; \ |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
163 chmod 0464 $(DESTDIR)$(SCOREFILE) ; \ |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
164 chmod 0464 $(DESTDIR)$(LOGFILE) ; \ |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
165 chmod 0775 $(DESTDIR)$(SAVEDIR) ; \ |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
166 chmod 0775 $(DESTDIR)$(CHARDIR) ; \ |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
167 fi |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
168 $(RM) test |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
169 |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
170 uninstall: |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
171 $(RM) $(DESTDIR)$(bindir)/$(PROGRAM) |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
172 |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
173 reinstall: uninstall install |
603e8a99c859
UltraRogue: add install and uninstall targets to the Makefile.
John "Elwin" Edwards
parents:
273
diff
changeset
|
174 |
256
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
175 dist.src: |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
176 make clean |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
177 tar cf $(DISTNAME)-src.tar $(CFILES) $(HDRS) $(MISC) |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
178 gzip -f $(DISTNAME)-src.tar |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
179 |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
180 dist.irix: |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
181 make clean |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
182 make CC=cc CFLAGS="-woff 1116 -O3" urogue |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
183 nroff -man urogue.6 | colcrt - > urogue.cat |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
184 tar cf $(DISTNAME)-irix.tar urogue urogue.cat README LICENSE.TXT |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
185 gzip -f $(DISTNAME)-irix.tar |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
186 |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
187 dist.aix: |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
188 make clean |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
189 make CC=xlc CFLAGS="-qmaxmem=16768 -O3 -qstrict" urogue |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
190 nroff -man urogue.6 | colcrt - > urogue.cat |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
191 tar cf $(DISTNAME)-aix.tar urogue urogue.cat README LICENSE.TXT |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
192 gzip -f $(DISTNAME)-aix.tar |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
193 |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
194 dist.linux: |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
195 make clean |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
196 make urogue |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
197 groff -man urogue.6 | sed -e 's/.\x08//g' > urogue.cat |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
198 tar cf $(DISTNAME)-linux.tar urogue urogue.cat README LICENSE.TXT |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
199 gzip -f $(DISTNAME)-linux.tar |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
200 |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
201 dist.interix: |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
202 make clean |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
203 make urogue |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
204 groff -P-b -P-u -man -Tascii urogue.6 > urogue.cat |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
205 tar cf $(DISTNAME)-interix.tar urogue urogue.cat README LICENSE.TXT |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
206 gzip -f $(DISTNAME)-interix.tar |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
207 |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
208 dist.cygwin: |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
209 make clean |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
210 make urogue |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
211 groff -P-c -man -Tascii urogue.6 | sed -e 's/.\x08//g' > urogue.cat |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
212 tar cf $(DISTNAME)-cygwin.tar urogue.exe urogue.cat README LICENSE.TXT |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
213 gzip -f $(DISTNAME)-cygwin.tar |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
214 |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
215 dist.djgpp: |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
216 make clean |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
217 make LDFLAGS="-L$(DJDIR)/LIB" CRLIB="-lpdcurses" urogue |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
218 groff -man -Tascii urogue.6 | sed -e 's/.\x08//g' > urogue.cat |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
219 rm -f $(DISTNAME)-djgpp.zip |
c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
John "Elwin" Edwards
parents:
diff
changeset
|
220 zip $(DISTNAME)-djgpp.zip urogue.exe urogue.cat README LICENSE.TXT |