aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 4282d6d234cb5c052e7b2250a3939e69b9477a77 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
.PHONY: all clean install luajit luarocks nerv
SHELL := /bin/bash
PREFIX := $(CURDIR)/install/
all: luajit luarocks
luajit:
	PREFIX=$(PREFIX) ./tools/build_luajit.sh
luarocks:
	PREFIX=$(PREFIX) ./tools/build_luarocks.sh
install:
	cd nerv; $(PREFIX)/bin/luarocks make