From 2eb65dbc919cdf4a55e958f2fbd9e42d9a940a48 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Mon, 24 Sep 2018 18:35:28 +0200 Subject: Makefile: Add a target to run the program Equivalent of Xcode's "Build & Run" action that we can execute in the command line. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3