aboutsummaryrefslogblamecommitdiff
path: root/Makefile
blob: 664a83be8a4b27fe870cd5d053071bfd0a1305fc (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                

                            
                            
       




                                                  
       
                                                           
                                                     
      
                             
.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/speech_utils; $(PREFIX)/bin/luarocks make
	cd speech/htk_io; $(PREFIX)/bin/luarocks make
clean:
	cd nerv && make clean