chore(lander): fix Docker build

This commit is contained in:
Jef Roosens 2023-11-14 15:34:07 +01:00
parent 6af3e6ad6d
commit 29f4edc059
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
4 changed files with 29 additions and 19 deletions

View file

@ -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