remove traces of benchmarks from test/.
[minix.git] / commands / flex-2.5.4 / build
blob4c9ddef6aa0101541bdb29781197803a622d73f7
1 #!/bin/sh
3 INSTALL="install -o bin"
4 CCACHE=config.cache
5 rm -f $CCACHE
6 if [ -f Makefile ]
7 then make distclean
8 fi
9 L=libfl.a
10 YACC=/usr/bin/yacc RANLIB=true AR=ar CONFIG_SHELL=/bin/bigsh CC=cc /bin/bigsh ./configure
11 make clean all
13 $INSTALL -m 755 flex /usr/bin
14 $INSTALL -l /usr/bin/flex /usr/bin/flex++
15 $INSTALL FlexLexer.h /usr/local/include
16 $INSTALL libfl.a /usr/lib/i386
18 if [ -f /usr/gnu/bin/gcc ]
19 then PATH=/usr/gnu/bin:$PATH
20 rm -f $CCACHE
21 YACC=/usr/bin/yacc CC=gcc CONFIG_SHELL=/bin/bigsh AR=gar /bin/bigsh ./configure
22 make clean $L
23 $INSTALL libfl.a /usr/gnu/lib