From 631de921703a750ad8223089bb61a099a04cf248 Mon Sep 17 00:00:00 2001 From: Robert Nishihara Date: Mon, 26 Sep 2016 00:12:11 -0700 Subject: [PATCH] Build redis before libcommon. (#20) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f71273119..ad955de98 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ CC = gcc CFLAGS = -g -Wall --std=c99 -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -fPIC -I. -Ithirdparty -Ithirdparty/ae BUILD = build -all: $(BUILD)/libcommon.a +all: hiredis $(BUILD)/libcommon.a $(BUILD)/libcommon.a: event_loop.o common.o task.o io.o state/redis.o thirdparty/ae/ae.o ar rcs $@ $^