make: run, test, clean
This commit is contained in:
parent
1fa7625679
commit
426b2765f6
1 changed files with 7 additions and 1 deletions
8
Makefile
8
Makefile
|
|
@ -26,6 +26,12 @@ $(BIN)/pw-test: $(call mklib, main.c)
|
||||||
|
|
||||||
$(PATHS):
|
$(PATHS):
|
||||||
mkdir -p $@
|
mkdir -p $@
|
||||||
|
.PHONY: run
|
||||||
|
run:
|
||||||
|
command $(BIN)/pw-test
|
||||||
|
|
||||||
|
.PHONY: test
|
||||||
|
test: clean all run
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
rm -rf $(PATHS)
|
rm -rf $(BUILD) $(BIN) compile_commands.json
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue