mirror of
https://github.com/herumi/xbyak
synced 2024-11-21 16:09:11 -07:00
dc9e6a79d6
Possibility to specify a different PREFIX from the command line
24 lines
316 B
Makefile
24 lines
316 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)
|
|
|
|
update:
|
|
$(MAKE) -C gen
|
|
|
|
test:
|
|
$(MAKE) -C test test
|
|
|
|
.PHONY: test update
|