aboutsummaryrefslogtreecommitdiffstats
path: root/daemon/Makefile
diff options
context:
space:
mode:
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.