From 8de67af1a43cc331415adea5af499b35d0e68c75 Mon Sep 17 00:00:00 2001 From: Kirisummer Date: Sat, 10 Jan 2026 17:48:06 +0200 Subject: [PATCH] Make execute rebuild the game Add a dependency on $(target) so that application is rebuilt by execute target on change. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5b83bfa..54eb9c8 100644 --- a/Makefile +++ b/Makefile @@ -93,7 +93,7 @@ $(buildDir)/%.o: src/%.cpp Makefile $(CXX) -MMD -MP -c $(compileFlags) $< -o $@ $(CXXFLAGS) # Run the executable -execute: +execute: $(target) $(target) $(ARGS) # Clean up all relevant files