From f03f2e9745396ad4ba98d662eeca87d8f26053e2 Mon Sep 17 00:00:00 2001 From: Olivier Michel Date: Wed, 5 Jul 2023 16:48:21 +0200 Subject: [PATCH] Fixed missing dependency of libController from version.txt (#6299) --- src/controller/c/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/controller/c/Makefile b/src/controller/c/Makefile index e537e615fc8..4b4413aa254 100644 --- a/src/controller/c/Makefile +++ b/src/controller/c/Makefile @@ -172,6 +172,8 @@ $(TARGET): $(OBJECTS) @chmod a-x $(TARGET) endif +$(OBJDIR)/robot.o: $(WEBOTS_HOME_PATH)/resources/version.txt + $(OBJDIR)/%.o:%.c @echo "# compiling "$< @$(CC) -c $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) $< -o $@