aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-09-20 18:48:04 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-09-20 18:48:04 +0000
commit15778b29521b2122a3d3513eb3c3eaa263578607 (patch)
tree66b9b08b6f59aff7c00bb485845cedcb2903031e /Makefile
parent656f2a264c12d2f5c3e3ebb4c905454299838634 (diff)
downloadrtmux-15778b29521b2122a3d3513eb3c3eaa263578607.tar.gz
rtmux-15778b29521b2122a3d3513eb3c3eaa263578607.tar.bz2
rtmux-15778b29521b2122a3d3513eb3c3eaa263578607.zip
META env var.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 39d1f1e3..043aedb9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.2 2007-07-25 23:13:18 nicm Exp $
+# $Id: Makefile,v 1.3 2007-09-20 18:48:04 nicm Exp $
.SUFFIXES: .c .o .y .h
.PHONY: clean
@@ -13,6 +13,9 @@ DATE!= date +%Y%m%d-%H%M
# This must be empty as OpenBSD includes it in default CFLAGS.
DEBUG=
+# Command prefix. This will go when we get a configuration file...
+META?= \002 # C-b
+
SRCS= tmux.c server.c buffer.c buffer-poll.c xmalloc.c xmalloc-debug.c \
input.c screen.c window.c session.c local.c log.c command.c
@@ -20,7 +23,7 @@ YACC= yacc -d
CC= cc
INCDIRS+= -I. -I- -I/usr/local/include
-CFLAGS+= -DBUILD="\"$(VERSION) ($(DATE))\""
+CFLAGS+= -DBUILD="\"$(VERSION) ($(DATE))\"" -DMETA="'${META}'"
.ifdef DEBUG
CFLAGS+= -g -ggdb -DDEBUG
LDFLAGS+= -Wl,-E