From fd8ccf4419ab94ab5a9250c0dc7a8d1761056b48 Mon Sep 17 00:00:00 2001 From: antirez Date: Fri, 23 Oct 2009 21:24:01 +0200 Subject: more work on ZSETs and a new make target called 32bit to build i386 binaries on mac os x leopard --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index fdffde82c..4fe428c41 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ DEBUG?= -g -rdynamic -ggdb CFLAGS?= -std=c99 -O2 -pedantic -Wall -W -CCOPT= $(CFLAGS) +CCOPT= $(CFLAGS) $(ARCH) OBJ = adlist.o ae.o anet.o dict.o redis.o sds.o zmalloc.o lzf_c.o lzf_d.o pqsort.o BENCHOBJ = ae.o anet.o benchmark.o sds.o adlist.o zmalloc.o @@ -61,3 +61,6 @@ bench: log: git log '--pretty=format:%ad %s' --date=short > Changelog + +32bit: + make ARCH="-arch i386" -- cgit v1.2.1