forked from OSchip/llvm-project
22 lines
664 B
Makefile
22 lines
664 B
Makefile
|
.PHONY: clean all
|
||
|
|
||
|
#----------------------------------------------------------------------
|
||
|
# Make all of the test programs
|
||
|
#----------------------------------------------------------------------
|
||
|
all:
|
||
|
find . -type d -depth 1 | xargs -J % find % \
|
||
|
-name Makefile \
|
||
|
-exec echo \; \
|
||
|
-exec echo make -f '{}' \; \
|
||
|
-execdir make \;
|
||
|
|
||
|
#----------------------------------------------------------------------
|
||
|
# Make all of the test programs
|
||
|
#----------------------------------------------------------------------
|
||
|
clean:
|
||
|
find . -type d -depth 1 | xargs -J % find % \
|
||
|
-name Makefile \
|
||
|
-exec echo \; \
|
||
|
-exec echo make -f '{}' clean \; \
|
||
|
-execdir make clean \;
|