From 426b2765f6291a56b5480fe69c3eb0b66dbb7e10 Mon Sep 17 00:00:00 2001 From: Emile Clark-Boman Date: Wed, 3 Sep 2025 14:56:29 +1000 Subject: [PATCH] make: run, test, clean --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0002590..7b02803 100644 --- a/Makefile +++ b/Makefile @@ -26,6 +26,12 @@ $(BIN)/pw-test: $(call mklib, main.c) $(PATHS): mkdir -p $@ +.PHONY: run +run: + command $(BIN)/pw-test + +.PHONY: test +test: clean all run .PHONY: clean clean: - rm -rf $(PATHS) + rm -rf $(BUILD) $(BIN) compile_commands.json