cd ../deps/jemalloc && ./configure $(JEMALLOC_CFLAGS) --with-jemalloc-prefix=je_ --enable-cc-silence && $(MAKE) lib/libjemalloc.a
redis-server: $(OBJ)
- $(QUIET_CC)$(CC) -o $(PRGNAME) $(CCOPT) $(DEBUG) $(OBJ) $(CCLINK) $(ALLOC_LINK) ../deps/lua/src/liblua.a
+ $(QUIET_LINK)$(CC) -o $(PRGNAME) $(CCOPT) $(DEBUG) $(OBJ) $(CCLINK) $(ALLOC_LINK) ../deps/lua/src/liblua.a
redis-benchmark: dependencies $(BENCHOBJ)
@cd ../deps/hiredis && $(MAKE) static
clean:
rm -rf $(PRGNAME) $(BENCHPRGNAME) $(CLIPRGNAME) $(CHECKDUMPPRGNAME) $(CHECKAOFPRGNAME) *.o *.gcda *.gcno *.gcov
+ cd ../deps/hiredis && $(MAKE) $@
+ cd ../deps/linenoise && $(MAKE) $@
+ cd ../deps/lua && $(MAKE) $@
+ -(cd ../deps/jemalloc && $(MAKE) distclean)
dep:
$(CC) -MM *.c -I ../deps/hiredis -I ../deps/linenoise
32bitgprof:
$(MAKE) PROF="-pg" ARCH="-arch i386"
+src/help.h:
+ @../utils/generate-command-help.rb > help.h
+
install: all
mkdir -p $(INSTALL_BIN)
$(INSTALL) $(PRGNAME) $(INSTALL_BIN)