12 lines
210 B
Makefile
12 lines
210 B
Makefile
|
../hmmlib.js: header.js temp.js
|
||
|
tail -n +4 temp.js | head -n -2 | head -c -3 | cat header.js - > $@
|
||
|
js-beautify -r $@
|
||
|
|
||
|
temp.js: source.l
|
||
|
jison-lex $< -o $@
|
||
|
|
||
|
clean:
|
||
|
$(RM) temp.js ../hmmlib.js
|
||
|
|
||
|
.PHONY: clean
|