mirror of
https://github.com/tmate-io/tmate.git
synced 2024-12-24 15:48:58 +01:00
GNUmakefile fixes, from tobiasu.
This commit is contained in:
parent
61b0b2c76d
commit
7613c7f388
@ -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
|
.PHONY: clean
|
||||||
|
|
||||||
@ -32,6 +32,7 @@ CFLAGS+= -DBUILD="\"$(VERSION) ($(DATE))\"" -DMETA="'${META}'"
|
|||||||
ifdef DEBUG
|
ifdef DEBUG
|
||||||
CFLAGS+= -g -ggdb -DDEBUG
|
CFLAGS+= -g -ggdb -DDEBUG
|
||||||
LDFLAGS+= -rdynamic
|
LDFLAGS+= -rdynamic
|
||||||
|
LIBS+= -ldl
|
||||||
endif
|
endif
|
||||||
CFLAGS+= -Wno-long-long -Wall -W -Wnested-externs -Wformat=2
|
CFLAGS+= -Wno-long-long -Wall -W -Wnested-externs -Wformat=2
|
||||||
CFLAGS+= -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
|
CFLAGS+= -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
|
||||||
@ -42,6 +43,7 @@ LDFLAGS+=
|
|||||||
LIBS+= -lncurses
|
LIBS+= -lncurses
|
||||||
|
|
||||||
PREFIX?= /usr/local
|
PREFIX?= /usr/local
|
||||||
|
INSTALLDIR= install -d
|
||||||
INSTALLBIN= install -g bin -o root -m 555
|
INSTALLBIN= install -g bin -o root -m 555
|
||||||
INSTALLMAN= install -g bin -o root -m 444
|
INSTALLMAN= install -g bin -o root -m 444
|
||||||
|
|
||||||
@ -78,7 +80,9 @@ depend: $(SRCS)
|
|||||||
$(CC) $(CFLAGS) $(INCDIRS) -MM $(SRCS) > .depend
|
$(CC) $(CFLAGS) $(INCDIRS) -MM $(SRCS) > .depend
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
$(INSTALLDIR) $(DESTDIR)$(PREFIX)/bin
|
||||||
$(INSTALLBIN) $(PROG) $(DESTDIR)$(PREFIX)/bin/$(PROG)
|
$(INSTALLBIN) $(PROG) $(DESTDIR)$(PREFIX)/bin/$(PROG)
|
||||||
|
$(INSTALLDIR) $(DESTDIR)$(PREFIX)/man/man1
|
||||||
$(INSTALLMAN) $(PROG).1 $(DESTDIR)$(PREFIX)/man/man1/
|
$(INSTALLMAN) $(PROG).1 $(DESTDIR)$(PREFIX)/man/man1/
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
2
TODO
2
TODO
@ -68,6 +68,8 @@
|
|||||||
- clear EOL etc CANNOT rely on term using the current colour/attr and probably
|
- clear EOL etc CANNOT rely on term using the current colour/attr and probably
|
||||||
should not emulate it doing so
|
should not emulate it doing so
|
||||||
- why do up/down work in angband with screen but not tmux??
|
- why do up/down work in angband with screen but not tmux??
|
||||||
|
-- it's not kkeypad/kcursor
|
||||||
|
- fix kkeypad/kcursor
|
||||||
|
|
||||||
-- For 0.2 --------------------------------------------------------------------
|
-- For 0.2 --------------------------------------------------------------------
|
||||||
- anything which uses cmd_{send,recv}_string will break if the string is
|
- anything which uses cmd_{send,recv}_string will break if the string is
|
||||||
|
Loading…
Reference in New Issue
Block a user