view3d

view configure @ 11:1a3799ff443a

merged fullscreen and minor edit
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 04 Sep 2012 05:11:13 +0300
parents
children
line source
1 #!/bin/sh
3 prefix='/usr/local'
4 opt=false
5 dbg=true
7 while [ $# -gt 0 ]; do
8 case $1 in
9 --prefix=*)
10 prefix=`echo $1 | sed 's/^--prefix=//'`
11 ;;
13 --enable-opt)
14 opt=true
15 ;;
16 --disable-opt)
17 opt=false
18 ;;
19 --enable-debug)
20 dbg=true
21 ;;
22 --disable-debug)
23 dbg=false
24 ;;
25 esac
26 shift
27 done
29 echo '# this file is generated by the configure script' >Makefile
30 echo "PREFIX = $prefix" >>Makefile
31 $opt && echo 'opt = -O3 -ffast-math' >>Makefile
32 $dbg && echo 'dbg = -g' >>Makefile
33 cat Makefile.in >>Makefile