summaryrefslogtreecommitdiff
path: root/Makefile
blob: 04a9cf4a1f035e45c7f9e63764bc3a735157126b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
.PHONY: all clean install luajit luarocks speech
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
	ln -sfv $(PREFIX)/lib/lua/5.1/libnerv.so $(PREFIX)/lib/ # FIXME: bad trick
speech:
	cd speech; $(PREFIX)/bin/luarocks make