master
Itamar Haber 9 years ago
parent 1896ff9a64
commit d17147747c

@ -1,18 +1,17 @@
#set environment variable RM_INCLUDE_DIR to the location of redismodule.h
# set environment variable RM_INCLUDE_DIR to the location of redismodule.h
ifndef RM_INCLUDE_DIR
RM_INCLUDE_DIR=../
endif
CFLAGS = -g -fPIC -lc -lm -O3 -std=gnu99 -I$(RM_INCLUDE_DIR)
CC=gcc
.SUFFIXES: .c .so .xo .o
OBJS=util.o strings.o sds.o
all: librmutil.a
clean:
rm -rf *.xo *.so *.o
rm -rf *.o *.a
librmutil.a: $(OBJS)
ar rcs $@ $^

Loading…
Cancel
Save