From 7613c7f3888ef640426e3ce2a636ab5774a54c6c Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sun, 10 Feb 2008 19:46:17 +0000 Subject: [PATCH] GNUmakefile fixes, from tobiasu. --- GNUmakefile | 6 +++++- TODO | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index ba1755db..82254a7a 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,4 +1,4 @@ -# $Id: GNUmakefile,v 1.10 2007-12-13 18:59:42 nicm Exp $ +# $Id: GNUmakefile,v 1.11 2008-02-10 19:46:17 nicm Exp $ .PHONY: clean @@ -32,6 +32,7 @@ CFLAGS+= -DBUILD="\"$(VERSION) ($(DATE))\"" -DMETA="'${META}'" ifdef DEBUG CFLAGS+= -g -ggdb -DDEBUG LDFLAGS+= -rdynamic +LIBS+= -ldl endif CFLAGS+= -Wno-long-long -Wall -W -Wnested-externs -Wformat=2 CFLAGS+= -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations @@ -42,6 +43,7 @@ LDFLAGS+= LIBS+= -lncurses PREFIX?= /usr/local +INSTALLDIR= install -d INSTALLBIN= install -g bin -o root -m 555 INSTALLMAN= install -g bin -o root -m 444 @@ -78,7 +80,9 @@ depend: $(SRCS) $(CC) $(CFLAGS) $(INCDIRS) -MM $(SRCS) > .depend install: + $(INSTALLDIR) $(DESTDIR)$(PREFIX)/bin $(INSTALLBIN) $(PROG) $(DESTDIR)$(PREFIX)/bin/$(PROG) + $(INSTALLDIR) $(DESTDIR)$(PREFIX)/man/man1 $(INSTALLMAN) $(PROG).1 $(DESTDIR)$(PREFIX)/man/man1/ clean: diff --git a/TODO b/TODO index e8243d97..9f312f13 100644 --- a/TODO +++ b/TODO @@ -68,6 +68,8 @@ - clear EOL etc CANNOT rely on term using the current colour/attr and probably should not emulate it doing so - why do up/down work in angband with screen but not tmux?? + -- it's not kkeypad/kcursor +- fix kkeypad/kcursor -- For 0.2 -------------------------------------------------------------------- - anything which uses cmd_{send,recv}_string will break if the string is