chore(lander): fix Docker build
This commit is contained in:
parent
6af3e6ad6d
commit
29f4edc059
4 changed files with 29 additions and 19 deletions
12
Makefile
12
Makefile
|
|
@ -35,15 +35,11 @@ all: $(BIN)
|
|||
.PHONY: objs
|
||||
objs: $(OBJS)
|
||||
|
||||
.PHONY: libtrie
|
||||
libtrie:
|
||||
$(MAKE) -C trie
|
||||
|
||||
.PHONY: liblsm
|
||||
liblsm:
|
||||
$(MAKE) -C lsm
|
||||
|
||||
$(BIN): libtrie liblsm $(OBJS)
|
||||
$(BIN): liblsm $(OBJS)
|
||||
$(CC) -o $@ $(OBJS) $(_LDFLAGS)
|
||||
|
||||
$(BUILD_DIR)/$(SRC_DIR)/%.c.o: $(SRC_DIR)/%.c
|
||||
|
|
@ -126,12 +122,14 @@ check:
|
|||
--enable=warning,style \
|
||||
-ithirdparty/* \
|
||||
-itrie/* \
|
||||
--quiet
|
||||
--inline-suppr \
|
||||
--check-level=exhaustive \
|
||||
--quiet \
|
||||
-j$(shell nproc)
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -rf $(BUILD_DIR)
|
||||
$(MAKE) -C trie clean
|
||||
$(MAKE) -C lsm clean
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue