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

                            
                                   
       




                                                  
       
                                                           
                                                     


                                                      
      
                             
.PHONY: all clean install luajit luarocks speech fastnn
SHELL := /bin/bash
PREFIX := $(CURDIR)/install/
all: luajit luarocks install fastnn
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
fastnn:
	cd fastnn/threads; $(PREFIX)/bin/luarocks make
	cd fastnn; $(PREFIX)/bin/luarocks make
clean:
	cd nerv && make clean