diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-18 16:34:48 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-18 16:34:48 +0000 |
commit | 61a41dc80eb45d4c0b40f3e1bcc5b6b50e97e2ec (patch) | |
tree | e18f0cb2e3bf1a76aebe64202525cfd4a7b9af73 /Makefile | |
parent | ee32d19432f3e411b1a426758d74ffc9fa318cc4 (diff) |
To 0.4. Some other Makefile tweaks.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -1,10 +1,10 @@ -# $Id: Makefile,v 1.61 2008-06-16 06:10:02 nicm Exp $ +# $Id: Makefile,v 1.62 2008-06-18 16:34:48 nicm Exp $ .SUFFIXES: .c .o .y .h .PHONY: clean update-index.html upload-index.html PROG= tmux -VERSION= 0.2 +VERSION= 0.4 OS!= uname REL!= uname -r @@ -35,7 +35,7 @@ SRCS= tmux.c server.c server-msg.c server-fn.c buffer.c buffer-poll.c status.c \ CC?= cc INCDIRS+= -I. -I- -I/usr/local/include -CFLAGS+= -DBUILD="\"$(VERSION) ($(DATE))\"" -DMETA="'${META}'" +CFLAGS+= -DMETA="'${META}'" .ifdef PROFILE # Don't use ccache CC= /usr/bin/gcc @@ -44,6 +44,9 @@ CFLAGS+= -pg -DPROFILE -O0 .ifdef DEBUG CFLAGS+= -g -ggdb -DDEBUG LDFLAGS+= -Wl,-E +CFLAGS+= -DBUILD="\"$(VERSION) ($(DATE))\"" +.else +CFLAGS+= -DBUILD="\"$(VERSION)\"" .endif #CFLAGS+= -pedantic -std=c99 CFLAGS+= -Wno-long-long -Wall -W -Wnested-externs -Wformat=2 |