xbyak/Makefile
Marcelo Duarte Trevisani dc9e6a79d6
Possibility to specify a different PREFIX
Possibility to specify a different PREFIX from the command line
2020-04-08 09:26:15 +01:00

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