xbyak/Makefile
Jan Beich e12fe06587 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
2017-02-18 22:12:48 +00:00

17 lines
241 B
Makefile

PREFIX=/usr/local
INSTALL_DIR=$(PREFIX)/include/xbyak
all:
$(MAKE) -C sample
clean:
$(MAKE) -C sample clean
install:
mkdir -p $(INSTALL_DIR)
cp -pR xbyak/*.h $(INSTALL_DIR)
uninstall:
rm -i $(INSTALL_DIR)/*.h
rmdir $(INSTALL_DIR)