GNUmakefile fixes, from tobiasu.

This commit is contained in:
Nicholas Marriott 2008-02-10 19:46:17 +00:00
parent 61b0b2c76d
commit 7613c7f388
2 changed files with 7 additions and 1 deletions

View File

@ -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:

2
TODO
View File

@ -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