about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorlatex <latex@disroot.org>2023-01-23 18:37:53 +0100
committerlatex <latex@disroot.org>2023-01-23 18:37:53 +0100
commit051647001aecf9bcc6212740689d1a6b5d5f0671 (patch)
tree8784c7c9f83e87b559bba8056b8939596e36922e
parent75ce49924cf338cebb8354a4fa7fd80202633882 (diff)
downloadlibumumble-051647001aecf9bcc6212740689d1a6b5d5f0671.tar.gz
Make sure nanopb generates files BEFORE compiling
-rw-r--r--Makefile4
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