You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Kaleidoscope/testing/Makefile

27 lines
522 B

COMMON_LIB_DIR?=${PWD}/lib
TEST_DIRS=$(shell dirname $(wildcard */Makefile))
Makefile: ${TEST_DIRS} FORCE
@echo TEST_DIRS="${TEST_DIRS}"
googletest: FORCE
cd googletest && $(MAKE)
common: FORCE
cd common && env COMMON_LIB_DIR="${COMMON_LIB_DIR}" $(MAKE)
clean:
rm -rf "${COMMON_LIB_DIR}"
cd googletest && make clean
cd common && make clean
cd hello-simulator && make clean
cd kaleidoscope && make clean
hello-simulator:
@:
%: common googletest FORCE
cd "$@" && $(MAKE)
.PHONY: FORCE googletest build-libs