From 13a990f9ad24b60bf4bd651c60d9f790b2f51cf6 Mon Sep 17 00:00:00 2001 From: itycodes Date: Sat, 6 Jul 2024 07:35:28 +0200 Subject: [PATCH] Fix a Makefile dependency on main.c The main.c file / $(SRC) was not defined as a dependency of the $(OUT) target, so when the file was changed, make did not recompile it. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e495ca8..b2b38b9 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ clean: rm -f $(WLR_PROTOCOL_IMPL) rm -f $(WLR_PROTOCOL_HEADER) -$(OUT): $(WLR_PROTOCOL_IMPL) $(WLR_PROTOCOL_HEADER) +$(OUT): $(WLR_PROTOCOL_IMPL) $(WLR_PROTOCOL_HEADER) $(SRC) $(CC) $(WLR_PROTOCOL_IMPL) $(SRC) $(CFLAGS) -o $(OUT) $(WLR_PROTOCOL_IMPL):