Skip to content
This repository has been archived by the owner on Dec 26, 2022. It is now read-only.

Commit

Permalink
fix(bazel): Cleanup hiredis imported from makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Yu Wei Wu committed May 23, 2019
1 parent 6e8b0fa commit 99f492a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
13 changes: 3 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
DCURL_DIR := third_party/dcurl
DCURL_LIB := $(DCURL_DIR)/build/libdcurl.so
HIREDIS_DIR := third_party/hiredis
HIREDIS_LIB := $(HIREDIS_DIR)/build/libdhiredis.a
DEPS += $(DCURL_LIB) $(HIREDIS_LIB)
DEPS += $(DCURL_LIB)

all: $(DEPS)

Expand All @@ -15,14 +13,9 @@ $(DCURL_LIB): $(DCURL_DIR)
$(info Modify $^/build/local.mk for your environments.)
$(MAKE) -C $^ all

$(HIREDIS_LIB): $(HIREDIS_DIR)
git submodule update --init $^
$(MAKE) -C $^ static

clean:
$(MAKE) -C $(DCURL_DIR) clean
$(MAKE) -C $(HIREDIS_DIR) clean

distclean: clean
$(RM) -r $(DCURL_DIR) $(HIREDIS_DIR)
git checkout $(DCURL_DIR) $(HIREDIS_DIR)
$(RM) -r $(DCURL_DIR)
git checkout $(DCURL_DIR)
1 change: 0 additions & 1 deletion third_party/hiredis
Submodule hiredis deleted from 685030

0 comments on commit 99f492a

Please sign in to comment.