mirror of
https://github.com/FEX-Emu/xbyak.git
synced 2024-11-26 16:10:44 +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
|