Fix one building/cleaning bug in testing/Makefile.

Signed-off-by: Eric Paniagua <epaniagua@google.com>
pull/898/head
Eric Paniagua 4 years ago
parent f00ba327d9
commit d3f5546e65

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

Loading…
Cancel
Save