diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-02-10 19:46:17 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-02-10 19:46:17 +0000 |
commit | 7613c7f3888ef640426e3ce2a636ab5774a54c6c (patch) | |
tree | c7f83a4b93562a9d74f92a4356312a9a47eb1f1e | |
parent | 61b0b2c76d2dedbc028a548e39299532a20f1bd2 (diff) | |
download | rtmux-7613c7f3888ef640426e3ce2a636ab5774a54c6c.tar.gz rtmux-7613c7f3888ef640426e3ce2a636ab5774a54c6c.tar.bz2 rtmux-7613c7f3888ef640426e3ce2a636ab5774a54c6c.zip |
GNUmakefile fixes, from tobiasu.
-rw-r--r-- | GNUmakefile | 6 | ||||
-rw-r--r-- | TODO | 2 |
2 files changed, 7 insertions, 1 deletions
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: @@ -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 |