make: run, test, clean

This commit is contained in:
Emile Clark-Boman 2025-09-03 14:56:29 +10:00
parent 1fa7625679
commit 426b2765f6

View file

@ -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