aboutsummaryrefslogtreecommitdiffstats
path: root/daemon/Makefile
diff options
context:
space:
mode:
authorEddy Pedroni <epedroni@pm.me>2025-08-21 14:24:55 +0200
committerEddy Pedroni <epedroni@pm.me>2025-08-21 14:24:55 +0200
commit7f1179f01ed200240856e35038da0993f84ec312 (patch)
tree1a9ea6442c70183f2df06198ceab90a5f71b520e /daemon/Makefile
parentce3b2eb271aa68fef345701188fc9f77abee99c8 (diff)
More robust config parsing
Diffstat (limited to 'daemon/Makefile')
-rw-r--r--daemon/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/daemon/Makefile b/daemon/Makefile
index 9bda3d2..3230ca2 100644
--- a/daemon/Makefile
+++ b/daemon/Makefile
@@ -37,10 +37,13 @@ $(BUILD_DIR)/%.cpp.o: %.cpp
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
-.PHONY: clean
+.PHONY: clean run
clean:
rm -r $(BUILD_DIR)
+run: $(BUILD_DIR)/$(TARGET_EXEC)
+ $(BUILD_DIR)/$(TARGET_EXEC)
+
# Include the .d makefiles. The - at the front suppresses the errors of missing
# Makefiles. Initially, all the .d files will be missing, and we don't want those
# errors to show up.