Build subdirs with the same make(1) flavor

$ gmake
make -C sample
make[1]: "sample/Makefile" line 6: Missing dependency operator
make[1]: "sample/Makefile" line 18: Need an operator
make[1]: "sample/Makefile" line 23: Need an operator
make[1]: "sample/Makefile" line 25: Missing dependency operator
make[1]: "sample/Makefile" line 27: Missing dependency operator
make[1]: "sample/Makefile" line 29: Need an operator
make[1]: "sample/Makefile" line 30: Need an operator
make[1]: "sample/Makefile" line 32: Missing dependency operator
make[1]: "sample/Makefile" line 34: Need an operator
make[1]: Fatal errors encountered -- cannot continue
make[1]: stopped in sample
gmake: *** [Makefile:5: all] Error 1
This commit is contained in:
Jan Beich 2017-02-18 21:48:12 +00:00
parent b7ae2f8e82
commit e12fe06587

View file

@ -2,10 +2,10 @@ PREFIX=/usr/local
INSTALL_DIR=$(PREFIX)/include/xbyak
all:
make -C sample
$(MAKE) -C sample
clean:
make -C sample clean
$(MAKE) -C sample clean
install:
mkdir -p $(INSTALL_DIR)