Skip to content

Commit

Permalink
feat(bindings/c): fix c bindings makefile (#1849)
Browse files Browse the repository at this point in the history
Fixed the OBJDIR creation and library link flag

Signed-off-by: Ji-Xinyou <jerryji0414@outlook.com>
  • Loading branch information
xyjixyjixyji authored Apr 4, 2023
1 parent 84e5ca1 commit 834957c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions bindings/c/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
RPATH=$(PWD)/../../target/debug
CFLAGS = -I./include
LDFLAGS = -L$(RPATH) -Wl,-rpath,$(RPATH)
LIBS = -lopendal
OBJ_DIR=build/
LIBS = -lopendal_c
OBJ_DIR=build

all: $(OBJ_DIR) build test
all: objdir build test

$(OBJ_DIR):
mkdir -p $@
objdir:
mkdir -p $(OBJ_DIR)

build:
cargo build
Expand Down

0 comments on commit 834957c

Please # to comment.