You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
306 B
Makefile
18 lines
306 B
Makefile
9 years ago
|
#set environment variable RM_INCLUDE_DIR to the location of redismodule.h
|
||
|
|
||
|
CFLAGS = -g -fPIC -lc -lm -O3 -std=gnu99 -I$(RM_INCLUDE_DIR)
|
||
|
CC=gcc
|
||
|
CFLAGS = -I$(RM_INCLUDE_DIR)
|
||
|
.SUFFIXES: .c .so .xo .o
|
||
|
|
||
|
OBJS=util.o strings.o sds.o
|
||
|
|
||
|
all: rmutil.a
|
||
|
|
||
|
clean:
|
||
|
rm -rf *.xo *.so *.o
|
||
|
|
||
|
rmutil.a: $(OBJS)
|
||
|
ar rcs $@ $^
|
||
|
|