Skip to content

Commit 9819226

Browse files
committed
indicate makefile phony targets
1 parent 42073d7 commit 9819226

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
# See COPYRIGHT notice in top-level directory.
44
#
55

6+
all:
7+
68
check:
79
cd test && make check
810
cd examples && make check
@@ -32,3 +34,5 @@ build-clean: clean
3234
install-clean: build-clean
3335
rm -rf dist
3436

37+
.PHONY: all check ptests clean build-clean install-clean
38+

examples/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,5 @@ clean:
6464
cd Pytorch_DDP && make clean
6565
cd MNIST && make clean
6666

67+
.PHONY: all check ptests ptest3 ptest4 ptest8 clean
68+

examples/Pytorch_DDP/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,5 @@ ptest8:
4343
clean:
4444
rm -rf ${OUTPUT_DIR}
4545

46+
.PHONY: all check ptests ptest3 ptest4 ptest8 clean
47+

test/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,5 @@ ptest8:
8383
clean:
8484
rm -rf ${OUTPUT_DIR}
8585

86+
.PHONY: all check ptests ptest3 ptest4 ptest8 clean
87+

0 commit comments

Comments
 (0)