Make sure nanopb generates files BEFORE compiling

This commit is contained in:
latex 2023-01-23 18:37:53 +01:00
parent 75ce49924c
commit 051647001a
1 changed files with 2 additions and 2 deletions

View File

@ -3,8 +3,8 @@ include config.mk
SRC += $(shell find src/ -type f -name '*.c')
PROTO = $(shell find src/ -type f -name '*.proto')
OBJ = $(SRC:%=$(BUILD_DIR)/%.o)
OBJ += $(PROTO:%.proto=$(BUILD_DIR)/%.pb.c.o)
OBJ = $(PROTO:%.proto=$(BUILD_DIR)/%.pb.c.o)
OBJ += $(SRC:%=$(BUILD_DIR)/%.o)
H = include/libumumble.h
.PHONY: all static shared clean install-static install-shared install