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


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