annotate srogue/Makefile.in @ 201:6fb21004a981

Fix some preprocessor directives. Include process.h in the right place, and use the correct definition of PATH_MAX, when compiling on Windows.
author John "Elwin" Edwards
date Wed, 12 Aug 2015 16:56:19 -0400
parents 97f8fdf9595c
children a666e4a034ed
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
101
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
1 # Makefile for rogue
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
2 # %W% (Berkeley) %G%
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
3 #
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
4 # Super-Rogue
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
5 # Copyright (C) 1984 Robert D. Kindelberger
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
6 # All rights reserved.
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
7 #
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
8 # Based on "Rogue: Exploring the Dungeons of Doom"
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
9 # Copyright (C) 1980, 1981 Michael Toy, Ken Arnold and Glenn Wichman
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
10 # All rights reserved.
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
11 #
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
12 # See the file LICENSE.TXT for full copyright and licensing information.
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
13
102
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
14 DISTNAME=@PACKAGE_TARNAME@@PACKAGE_VERSION@
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
15 PACKAGE_TARNAME=@PACKAGE_TARNAME@-@PACKAGE_VERSION@
101
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
16 PROGRAM=@PROGRAM@
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
17
102
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
18 SCOREFILE=@SCOREFILE@
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
19 LOGFILE=@LOGFILE@
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
20 SAVEDIR=@SAVEDIR@
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
21 GROUPOWNER=@GROUPOWNER@
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
22
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
23 DESTDIR=
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
24 prefix=@prefix@
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
25 exec_prefix=@exec_prefix@
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
26 datarootdir=@datarootdir@
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
27 bindir=@bindir@
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
28 docdir=@docdir@
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
29
104
fbc75509f4cd Add config.h to the list of headers in the Makefiles.
John "Elwin" Edwards
parents: 102
diff changeset
30 HDRS= bob.h cx.h ncx.h rdk.h rogue.h config.h
101
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
31 OBJS= vers.o armor.o chase.o command.o daemon.o daemons.o disply.o encumb.o \
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
32 fight.o global.o init.o io.o list.o main.o mdport.o misc.o monsters.o \
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
33 move.o new_leve.o options.o pack.o passages.o potions.o pstats.o \
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
34 rings.o rip.o rooms.o save.o scrolls.o state.o sticks.o things.o \
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
35 trader.o weapons.o wizard.o xcrypt.o
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
36 CFILES= vers.c armor.c chase.c command.c daemon.c daemons.c disply.c encumb.c \
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
37 fight.c global.c init.c io.c list.c main.c mdport.c misc.c monsters.c \
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
38 move.c new_leve.c options.c pack.c passages.c potions.c pstats.c \
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
39 rings.c rip.c rooms.c save.c scrolls.c state.c sticks.c things.c \
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
40 trader.c weapons.c wizard.c xcrypt.c
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
41
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
42 MISC= Makefile LICENSE.TXT rogue.nr
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
43
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
44 CC = gcc
116
97f8fdf9595c Makefiles: don't set defaults for CFLAGS.
John "Elwin" Edwards
parents: 104
diff changeset
45 CFLAGS=
101
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
46 CPPFLAGS=@DEFS@
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
47 CRLIB = -lcurses
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
48 RM = rm -f
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
49 TAR = tar
102
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
50 INSTALL=@INSTALL@
101
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
51
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
52 $(PROGRAM): $(HDRS) $(OBJS)
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
53 $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(CRLIB) -o $@
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
54
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
55 tags: $(HDRS) $(CFILES)
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
56 ctags -u $?
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
57 ed - tags < :ctfix
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
58 sort tags -o tags
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
59
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
60 lint:
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
61 lint -hxbc $(CFILES) $(CRLIB) > linterrs
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
62
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
63 clean:
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
64 rm -f $(OBJS) core
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
65 rm -f $(PROGRAM) $(PROGRAM).exe $(PROGRAM) $(PROGRAM).exe $(PROGRAM).tar $(PROGRAM).tar.gz $(PROGRAM).doc
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
66
102
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
67 install: $(PROGRAM)
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
68 -touch test
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
69 -if test ! -f $(DESTDIR)$(SCOREFILE) ; \
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
70 then $(INSTALL) -m 0664 test $(DESTDIR)$(SCOREFILE) ; fi
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
71 -if test "x$(LOGFILE)" != "x" && test ! -f $(DESTDIR)$(LOGFILE) ; then \
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
72 $(INSTALL) -m 0664 test $(DESTDIR)$(LOGFILE) ; fi
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
73 -if test "x$(SAVEDIR)" != "x" && test ! -d $(DESTDIR)$(SAVEDIR) ; then \
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
74 mkdir -p $(DESTDIR)$(SAVEDIR) ; fi
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
75 -$(INSTALL) -m 0755 $(PROGRAM) $(DESTDIR)$(bindir)/$(PROGRAM)
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
76 -if test "x$(GROUPOWNER)" != "x" ; then \
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
77 chgrp $(GROUPOWNER) $(DESTDIR)$(SCOREFILE) ; \
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
78 chgrp $(GROUPOWNER) $(DESTDIR)$(LOGFILE) ; \
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
79 chgrp $(GROUPOWNER) $(DESTDIR)$(bindir)/$(PROGRAM) ; \
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
80 chgrp $(GROUPOWNER) $(DESTDIR)$(SAVEDIR) ; \
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
81 chmod 02755 $(DESTDIR)$(bindir)/$(PROGRAM) ; \
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
82 chmod 0464 $(DESTDIR)$(SCOREFILE) ; \
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
83 chmod 0464 $(DESTDIR)$(LOGFILE) ; \
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
84 chmod 0775 $(DESTDIR)$(SAVEDIR) ; \
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
85 fi
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
86 -if test ! -d $(DESTDIR)$(docdir) ; \
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
87 then mkdir -p $(DESTDIR)$(docdir) ; fi
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
88 -$(INSTALL) -m 0644 LICENSE.TXT $(DESTDIR)$(docdir)/LICENSE.TXT
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
89 -$(INSTALL) -m 0644 rogue.nr $(DESTDIR)$(docdir)/$(PROGRAM).nr
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
90 -$(RM) test
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
91
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
92 uninstall:
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
93 -$(RM) $(DESTDIR)$(bindir)/$(PROGRAM)
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
94 -$(RM) $(DESTDIR)$(docdir)/LICENSE.TXT
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
95 -$(RM) $(DESTDIR)$(docdir)/$(PROGRAM).nr
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
96 -rmdir $(DESTDIR)$(docdir)
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
97
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
98 reinstall: uninstall install
1906d183f1f5 srogue: add install and uninstall targets to Makefile
John "Elwin" Edwards
parents: 101
diff changeset
99
101
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
100 count:
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
101 wc -l $(HDRS) $(CFILES)
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
102
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
103 realcount:
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
104 cc -E $(CFILES) | ssp - | wc -l
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
105
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
106 update:
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
107 ar uv .SAVE $(CFILES) $(HDRS) $(MISC)
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
108
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
109 dist:
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
110 @mkdir dist
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
111 cp $(CFILES) $(HDRS) $(MISC) dist
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
112
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
113 dist.src:
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
114 make clean
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
115 tar cf $(DISTNAME)-src.tar $(CFILES) $(HDRS) $(MISC)
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
116 gzip -f $(DISTNAME)-src.tar
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
117
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
118 dist.irix:
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
119 make clean
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
120 make CC=cc CFLAGS="-woff 1116 -O3" $(PROGRAM)
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
121 tbl rogue.nr | nroff -mm | colcrt - > $(PROGRAM).doc
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
122 tar cf $(DISTNAME)-irix.tar $(PROGRAM) LICENSE.TXT $(PROGRAM).doc
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
123 gzip -f $(DISTNAME)-irix.tar
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
124
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
125 debug.aix:
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
126 make clean
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
127 make CC=xlc CFLAGS="-qmaxmem=16768 -g -DWIZARD -qstrict" $(PROGRAM)
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
128
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
129 dist.aix:
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
130 make clean
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
131 make CC=xlc CFLAGS="-qmaxmem=16768 -O3 -qstrict" $(PROGRAM)
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
132 tbl rogue.nr | nroff -mm | colcrt - > $(PROGRAM).doc
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
133 tar cf $(DISTNAME)-aix.tar $(PROGRAM) LICENSE.TXT $(PROGRAM).doc
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
134 gzip -f $(DISTNAME)-aix.tar
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
135
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
136 debug.linux:
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
137 make clean
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
138 make CFLAGS="-g -DWIZARD" $(PROGRAM)
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
139
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
140 dist.linux:
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
141 make clean
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
142 make $(PROGRAM)
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
143 groff -P-c -t -mm -Tascii rogue.nr | sed -e 's/.\x08//g' >$(PROGRAM).doc
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
144 tar cf $(DISTNAME)-linux.tar $(PROGRAM) LICENSE.TXT $(PROGRAM).doc
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
145 gzip -f $(DISTNAME)-linux.tar
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
146
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
147 debug.interix:
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
148 make clean
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
149 make CFLAGS="-g3 -DWIZARD" $(PROGRAM)
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
150
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
151 dist.interix:
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
152 make clean
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
153 make $(PROGRAM)
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
154 groff -P-b -P-u -t -mm -Tascii rogue.nr > $(PROGRAM).doc
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
155 tar cf $(DISTNAME)-interix.tar $(PROGRAM) LICENSE.TXT $(PROGRAM).doc
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
156 gzip -f $(DISTNAME)-interix.tar
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
157
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
158 debug.cygwin:
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
159 make clean
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
160 make CFLAGS="-g3 -DWIZARD" $(PROGRAM)
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
161
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
162 dist.cygwin:
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
163 make clean
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
164 make $(PROGRAM)
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
165 groff -P-c -t -mm -Tascii rogue.nr | sed -e 's/.\x08//g' >$(PROGRAM).doc
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
166 tar cf $(DISTNAME)-cygwin.tar $(PROGRAM).exe LICENSE.TXT $(PROGRAM).doc
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
167 gzip -f $(DISTNAME)-cygwin.tar
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
168
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
169 debug.djgpp:
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
170 make clean
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
171 make CFGLAGS="-g3 -DWIZARD" LDFLAGS="-L$(DJDIR)/LIB" CRLIB="-lpdcurses" $(PROGRAM)
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
172
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
173 dist.djgpp:
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
174 make clean
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
175 make LDFLAGS="-L$(DJDIR)/LIB" CRLIB="-lpdcurses" $(PROGRAM)
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
176 groff -t -mm -Tascii rogue.nr | sed -e 's/.\x08//g' > $(PROGRAM).doc
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
177 rm -f $(DISTNAME)-djgpp.zip
15f8229f38c1 srogue: begin porting to autoconf.
John "Elwin" Edwards
parents:
diff changeset
178 zip $(DISTNAME)-djgpp.zip $(PROGRAM).exe LICENSE.TXT $(PROGRAM).doc