Mercurial > hg > early-roguelike
changeset 88:07c4d4883ef2
rogue3: begin porting to autoconf.
Rogue V3 can now be built with './configure && make'. This is
preliminary: 'make install' does not work yet.
| author | John "Elwin" Edwards |
|---|---|
| date | Sat, 24 Aug 2013 13:36:13 -0700 |
| parents | f871cb0539d3 |
| children | 84651832f967 |
| files | rogue3/Makefile rogue3/Makefile.in rogue3/acinclude.m4 rogue3/configure.ac rogue3/install-sh rogue3/machdep.h rogue3/mdport.c rogue3/rogue.6 rogue3/rogue.6.in rogue3/rogue.r rogue3/rogue.r.in |
| diffstat | 11 files changed, 1503 insertions(+), 662 deletions(-) [+] |
line wrap: on
line diff
--- a/rogue3/Makefile Tue Aug 13 09:19:56 2013 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,151 +0,0 @@ -# -# Makefile for rogue -# %W% (Berkeley) %G% -# -# Rogue: Exploring the Dungeons of Doom -# Copyright (C) 1980, 1981 Michael Toy, Ken Arnold and Glenn Wichman -# All rights reserved. -# -# See the file LICENSE.TXT for full copyright and licensing information. -# - -DISTNAME=rogue3.6.4 -PROGRAM=rogue3 - -O=o - -HDRS= rogue.h machdep.h - -OBJS1 = vers.$(O) armor.$(O) chase.$(O) command.$(O) daemon.$(O) daemons.$(O) \ - fight.$(O) init.$(O) io.$(O) list.$(O) main.$(O) mdport.$(O) \ - misc.$(O) monsters.$(O) move.$(O) newlevel.$(O) options.$(O) -OBJS2 = pack.$(O) passages.$(O) potions.$(O) rings.$(O) rip.$(O) rooms.$(O) \ - save.$(O) scrolls.$(O) state.$(O) sticks.$(O) things.$(O) \ - weapons.$(O) wizard.$(O) xcrypt.$(O) -OBJS = $(OBJS1) $(OBJS2) - -CFILES= vers.c armor.c chase.c command.c daemon.c daemons.c fight.c \ - init.c io.c list.c main.c mdport.c misc.c monsters.c move.c newlevel.c \ - options.c pack.c passages.c potions.c rings.c rip.c rooms.c \ - save.c scrolls.c state.c sticks.c things.c weapons.c wizard.c xcrypt.c - - -MISC_C= -DOCSRC= rogue.6 rogue.r -DOCS = $(PROGRAM).doc $(PROGRAM).cat $(PROGRAM).html readme36.html -MISC = Makefile $(MISC_C) LICENSE.TXT $(PROGRAM).sln $(PROGRAM).vcproj $(DOCS)\ - $(DOCSRC) - -CC = gcc -ROPTS = -COPTS = -O3 -CFLAGS= $(COPTS) $(ROPTS) -LIBS = -lcurses -RM = rm -f -LD = $(CC) -LDOUT = -o - -.SUFFIXES: .obj - -.c.obj: - $(CC) $(CFLAGS) /c $*.c - -$(PROGRAM)$(EXE): $(HDRS) $(OBJS) - $(LD) $(LDFLAGS) $(OBJS) $(LIBS) $(LDOUT)$@ - -clean: - $(RM) $(OBJS1) - $(RM) $(OBJS2) - $(RM) core $(PROGRAM) $(PROGRAM).exe $(DISTNAME).tar $(DISTNAME).tar.gz - $(RM) $(DISTNAME).zip - -dist.src: - make clean - tar cf $(DISTNAME)-src.tar $(CFILES) $(HDRS) $(MISC) $(DOCS) - gzip -f $(DISTNAME)-src.tar - -dist.irix: - @$(MAKE) clean - @$(MAKE) CC=cc CFLAGS="-woff 1116 -O3" $(PROGRAM) -# tbl rogue.r | nroff -ms | colcrt - > $(PROGRAM).doc -# nroff -man rogue.6 | colcrt - > $(PROGRAM).cat - tar cf $(DISTNAME)-irix.tar $(PROGRAM) LICENSE.TXT $(DOCS) - gzip -f $(DISTNAME)-irix.tar - -dist.aix: - @$(MAKE) clean - @$(MAKE) CC=xlc CFLAGS="-qmaxmem=16768 -O3 -qstrict" $(PROGRAM) -# tbl rogue.r | nroff -ms | colcrt - > $(ROGUE).doc -# nroff -man rogue.6 | colcrt - > $(ROGUE).cat - tar cf $(DISTNAME)-aix.tar $(PROGRAM) LICENSE.TXT $(DOCS)
