Make sure nanopb generates files BEFORE compiling
This commit is contained in:
parent
75ce49924c
commit
051647001a
4
Makefile
4
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue