summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2009-11-04 09:53:43 +0100
committerantirez <antirez@gmail.com>2009-11-04 09:53:43 +0100
commitd0ccebcf46a2f726117b05f2a317b0a5e7113cae (patch)
treead63af15683ec7b6aa731d6869821ed8b1d264d0 /Makefile
parenteaa256ad256e385f6f448df6c162ff14f4d2956b (diff)
downloadredis-d0ccebcf46a2f726117b05f2a317b0a5e7113cae.tar.gz
masterauth option merged, thanks to Anthony Lauzon
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ba3d5009b..49d0cb380 100644
--- a/Makefile
+++ b/Makefile
@@ -7,10 +7,10 @@ ifeq ($(uname_S),SunOS)
CFLAGS?= -std=c99 -pedantic -O2 -Wall -W -D__EXTENSIONS__ -D_XPG6
CCLINK?= -ldl -lnsl -lsocket -lm
else
- CFLAGS?= -std=c99 -pedantic -O2 -Wall -W $(ARCH)
+ CFLAGS?= -std=c99 -pedantic -O2 -Wall -W $(ARCH) $(PROF)
CCLINK?= -lm
endif
-CCOPT= $(CFLAGS) $(CCLINK) $(ARCH)
+CCOPT= $(CFLAGS) $(CCLINK) $(ARCH) $(PROF)
DEBUG?= -g -rdynamic -ggdb
OBJ = adlist.o ae.o anet.o dict.o redis.o sds.o zmalloc.o lzf_c.o lzf_d.o pqsort.o
@@ -71,3 +71,9 @@ log:
32bit:
make ARCH="-arch i386"
+
+gprof:
+ make PROF="-pg"
+
+32bitgprof:
+ make PROF="-pg" ARCH="-arch i386"