Build redis before libcommon. (#20)

This commit is contained in:
Robert Nishihara
2016-09-26 00:12:11 -07:00
committed by Philipp Moritz
parent db8c0acc71
commit 631de92170
+1 -1
View File
@@ -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 $@ $^