2019-11-18 20:33:15 +03:00
|
|
|
all: tile38-server tile38-cli tile38-benchmark tile38-luamemtest
|
|
|
|
|
|
|
|
.PHONY: tile38-server
|
|
|
|
tile38-server:
|
|
|
|
@./scripts/build.sh tile38-server
|
|
|
|
|
|
|
|
.PHONY: tile38-cli
|
|
|
|
tile38-cli:
|
|
|
|
@./scripts/build.sh tile38-cli
|
|
|
|
|
|
|
|
.PHONY: tile38-benchmark
|
|
|
|
tile38-benchmark:
|
|
|
|
@./scripts/build.sh tile38-benchmark
|
|
|
|
|
|
|
|
.PHONY: tile38-luamemtest
|
|
|
|
tile38-luamemtest:
|
|
|
|
@./scripts/build.sh tile38-luamemtest
|
|
|
|
|
2016-03-05 02:08:16 +03:00
|
|
|
test:
|
2019-11-18 20:33:15 +03:00
|
|
|
@./scripts/test.sh
|
|
|
|
|
|
|
|
package:
|
|
|
|
@rm -rf packages/
|
|
|
|
@scripts/package.sh Windows windows amd64
|
|
|
|
@scripts/package.sh Mac darwin amd64
|
|
|
|
@scripts/package.sh Linux linux amd64
|
|
|
|
@scripts/package.sh FreeBSD freebsd amd64
|
|
|
|
@scripts/package.sh ARM linux arm
|
|
|
|
@scripts/package.sh ARM64 linux arm64
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf tile38-server tile38-cli tile38-benchmark tile38-luamemtest
|
|
|
|
|
|
|
|
distclean: clean
|
|
|
|
rm -rf packages/
|
|
|
|
|
2016-03-05 02:08:16 +03:00
|
|
|
install: all
|
|
|
|
cp tile38-server /usr/local/bin
|
|
|
|
cp tile38-cli /usr/local/bin
|
2017-03-31 00:14:44 +03:00
|
|
|
cp tile38-benchmark /usr/local/bin
|
2019-11-18 20:33:15 +03:00
|
|
|
|
2016-03-05 02:08:16 +03:00
|
|
|
uninstall:
|
|
|
|
rm -f /usr/local/bin/tile38-server
|
|
|
|
rm -f /usr/local/bin/tile38-cli
|
2017-03-31 00:14:44 +03:00
|
|
|
rm -f /usr/local/bin/tile38-benchmark
|
2019-11-18 20:33:15 +03:00
|
|
|
|