summaryrefslogtreecommitdiff
path: root/Makefile
blob: cc0c32e1003f6eed09c501748b59fe03c61583e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
.PHONY: all clean install luajit luarocks speech
SHELL := /bin/bash
PREFIX := $(CURDIR)/install/
all: luajit luarocks install
luajit:
	PREFIX=$(PREFIX) ./tools/build_luajit.sh
luarocks:
	PREFIX=$(PREFIX) ./tools/build_luarocks.sh
install:
	cd nerv; $(PREFIX)/bin/luarocks make
speech:
	cd speech/htk_io; $(PREFIX)/bin/luarocks make
clean:
	rm -r $(CURDIR)/install