mirror of
https://github.com/FEX-Emu/xbyak.git
synced 2024-11-30 10:01:07 +00:00
dc9e6a79d6
Possibility to specify a different PREFIX from the command line
25 lines
316 B
Makefile
25 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
|