File: setup.win

package info (click to toggle)
rgl 0.64.13-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,676 kB
  • ctags: 927
  • sloc: cpp: 5,139; sh: 2,643; makefile: 91
file content (32 lines) | stat: -rwxr-xr-x 612 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/sh
# RGL windows build tool setup (bash-version)
# This file is part of the RGL software
# (c) 2003-2004 D.Adler
# $Id: setup.win,v 1.1 2004/05/26 17:54:56 dadler Exp $

APPNAME=$0

SRC=src

usage() {
  echo "usage: $APPNAME [tool]"
  echo "supported build tools:"
  echo "  mingw    MinGW"
  echo "  vc       Microsoft Visual C++"
  exit 1
}

case $1 in
  mingw)
    echo "include build/mingw/Makefile" >$SRC/Makefile.win
    ;;
  vc)
    echo "include build/vc/Makefile" >$SRC/Makefile.win 
    ;;
  *)
    usage
    ;;
esac

    echo "$APPNAME: configured for tool $0"