Skip to content

Commit 8de67af

Browse files
committed
Make execute rebuild the game
Add a dependency on $(target) so that application is rebuilt by execute target on change.
1 parent f8f66ce commit 8de67af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ $(buildDir)/%.o: src/%.cpp Makefile
9393
$(CXX) -MMD -MP -c $(compileFlags) $< -o $@ $(CXXFLAGS)
9494

9595
# Run the executable
96-
execute:
96+
execute: $(target)
9797
$(target) $(ARGS)
9898

9999
# Clean up all relevant files

0 commit comments

Comments
 (0)