aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2018-09-24 18:35:28 +0200
committerTeddy Wing2018-09-24 18:35:28 +0200
commit2eb65dbc919cdf4a55e958f2fbd9e42d9a940a48 (patch)
tree778eb909dae63b1d925446626afb6eb26acbdccb
parentd8ed3e767fc4c7165bd6320bdcd93c7a60007759 (diff)
downloadDomeKey-2eb65dbc919cdf4a55e958f2fbd9e42d9a940a48.tar.bz2
Makefile: Add a target to run the program
Equivalent of Xcode's "Build & Run" action that we can execute in the command line.
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6625528..1a1f35c 100644
--- a/Makefile
+++ b/Makefile
@@ -14,3 +14,7 @@ build: $(SOURCE_FILES) $(RUST_LIB)
$(RUST_LIB):
$(MAKE) -C $(RUST_DIR) $@
+
+.PHONY: run
+run: build
+ ~/Library/Developer/Xcode/DerivedData/DomeKey-*/Build/Products/Debug/DomeKey