|
|
@ -1,11 +1,10 @@
|
|
|
|
COMMON_LIB_DIR?=${PWD}/lib
|
|
|
|
COMMON_LIB_DIR?=${PWD}/lib
|
|
|
|
TEST_DIRS=$(shell dirname $(wildcard */Makefile))
|
|
|
|
TEST_DIRS=$(shell dirname $(wildcard */Makefile))
|
|
|
|
|
|
|
|
|
|
|
|
DIRS=googletest hello-simulator kaleidoscope common
|
|
|
|
DIRS=googletest hello-simulator kaleidoscope common issue_840
|
|
|
|
CLEANDIRS = $(DIRS:%=clean-%)
|
|
|
|
CLEANDIRS = $(DIRS:%=clean-%)
|
|
|
|
|
|
|
|
|
|
|
|
.PHONY: subdirs $(CLEANDIRS)
|
|
|
|
.PHONY: subdirs $(CLEANDIRS)
|
|
|
|
.PHONY: subdirs $(DIRS)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
clean: googletest/Makefile $(CLEANDIRS)
|
|
|
|
clean: googletest/Makefile $(CLEANDIRS)
|
|
|
|
rm -rf "$(COMMON_LIB_DIR)"
|
|
|
|
rm -rf "$(COMMON_LIB_DIR)"
|
|
|
@ -28,6 +27,9 @@ common:
|
|
|
|
hello-simulator:
|
|
|
|
hello-simulator:
|
|
|
|
@:
|
|
|
|
@:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Makefile:
|
|
|
|
|
|
|
|
@:
|
|
|
|
|
|
|
|
|
|
|
|
%: common googletest
|
|
|
|
%: common googletest
|
|
|
|
cd "$@" && $(MAKE)
|
|
|
|
cd "$@" && $(MAKE)
|
|
|
|
|
|
|
|
|
|
|
|