diff options
author | latex <latex@disroot.org> | 2023-01-23 18:37:53 +0100 |
---|---|---|
committer | latex <latex@disroot.org> | 2023-01-23 18:37:53 +0100 |
commit | 051647001aecf9bcc6212740689d1a6b5d5f0671 (patch) | |
tree | 8784c7c9f83e87b559bba8056b8939596e36922e | |
parent | 75ce49924cf338cebb8354a4fa7fd80202633882 (diff) | |
download | libumumble-051647001aecf9bcc6212740689d1a6b5d5f0671.tar.gz |
Make sure nanopb generates files BEFORE compiling
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile index cb04172..ddd9aaa 100644 --- a/Makefile +++ b/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 |