From 0fdfbef1de5a2601a5c8bac647e645bf64a822f0 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Thu, 29 Jan 2026 04:17:53 +0000 Subject: [PATCH] Makefile: added recipe to run examples --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9423ff8..5eb0db1 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,7 @@ clangd: compile_commands.json compile_commands.json: Makefile bear -- $(MAKE) -B MODE=debug -.PHONY: run clean +.PHONY: run clean examples ARGS= run: $(OUT) ./$^ $(ARGS) @@ -47,5 +47,9 @@ run: $(OUT) clean: rm -rf $(DIST) +examples: $(OUT) + @echo "Example: Hello World" + ./$^ examples/hello-world.arl + DEPS:=$(patsubst %,$(DEPDIR)/%.d, $(UNITS)) include $(wildcard $(DEPS))