Mercurial > hg > early-roguelike
changeset 156:3e1146666ae5
arogue7, xrogue: begin using autoconf.
File locations can be customized via './configure'. 'make install'
does not work yet. Options for wizard mode and load checks may not do
what is intended.
Fun fact: there's an enlightening epigraph in the introduction to the
autoconf manual.
| author | John "Elwin" Edwards |
|---|---|
| date | Thu, 04 Jun 2015 10:41:39 -0400 |
| parents | 1af259ac4ed2 |
| children | 5238b835d661 |
| files | arogue7/Makefile arogue7/Makefile.in arogue7/acinclude.m4 arogue7/configure.ac arogue7/install-sh arogue7/mach_dep.h arogue7/rogue.h xrogue/Makefile xrogue/Makefile.in xrogue/acinclude.m4 xrogue/configure.ac xrogue/install-sh xrogue/mach_dep.h xrogue/rogue.h |
| diffstat | 14 files changed, 1926 insertions(+), 321 deletions(-) [+] |
line wrap: on
line diff
--- a/arogue7/Makefile Fri May 29 17:34:04 2015 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,193 +0,0 @@ -# -# Makefile for rogue -# -# Advanced Rogue -# Copyright (C) 1984, 1985, 1986 Michael Morgan, Ken Dalka and AT&T -# All rights reserved. -# -# Based on "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. -# - -# -# Makefile for rogue -# - - -DISTNAME=arogue7.7.1 -PROGRAM=arogue77 - -O=o - -HDRS= rogue.h mach_dep.h network.h - -OBJS1 = vers.$(O) actions.$(O) chase.$(O) command.$(O) daemon.$(O) \ - daemons.$(O) eat.$(O) effects.$(O) encumb.$(O) fight.$(O) init.$(O) \ - io.$(O) list.$(O) main.$(O) maze.$(O) mdport.$(O) misc.$(O) \ - monsters.$(O) -OBJS2 = move.$(O) new_level.$(O) options.$(O) outside.$(O) pack.$(O) \ - passages.$(O) player.$(O) potions.$(O) rings.$(O) rip.$(O) rogue.$(O) \ - rooms.$(O) save.$(O) scrolls.$(O) state.$(O) sticks.$(O) things.$(O) \ - trader.$(O) util.$(O) weapons.$(O) wear.$(O) wizard.$(O) xcrypt.$(O) -OBJS = $(OBJS1) $(OBJS2) - -CFILES= vers.c actions.c chase.c command.c daemon.c \ - daemons.c eat.c effects.c encumb.c fight.c init.c \ - io.c list.c main.c maze.c mdport.c misc.c monsters.c \ - move.c new_level.c options.c outside.c pack.c \ - passages.c player.c potions.c rings.c rip.c rogue.c \ - rooms.c save.c scrolls.c state.c sticks.c things.c \ - trader.c util.c weapons.c wear.c wizard.c xcrypt.c -MISC_C= -DOCSRC= aguide.mm -DOCS = $(PROGRAM).doc $(PROGRAM).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 - -.SUFFIXES: .obj - -.c.obj: - $(CC) $(CFLAGS) /c $*.c - -$(PROGRAM): $(HDRS) $(OBJS) - $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS) -o $@
