diff options
author | antirez <antirez@gmail.com> | 2009-11-04 09:53:43 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2009-11-04 09:53:43 +0100 |
commit | d0ccebcf46a2f726117b05f2a317b0a5e7113cae (patch) | |
tree | ad63af15683ec7b6aa731d6869821ed8b1d264d0 /Makefile | |
parent | eaa256ad256e385f6f448df6c162ff14f4d2956b (diff) | |
download | redis-d0ccebcf46a2f726117b05f2a317b0a5e7113cae.tar.gz |
masterauth option merged, thanks to Anthony Lauzon
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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" |