source: trunk/base/src/pextlib1.0/compile.sh @ 1228

Last change on this file since 1228 was 1228, checked in by kevin, 18 years ago

Specify -no-cpp-precomp since cpp-precomp is missing on Darwin 6.0.2.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 443 bytes
Line 
1#!/bin/sh
2
3# This is just for compiling Pextlib!  It's not a more generic wrapper.
4# Real simple for now, just come up with compilation flags for Darwin
5# or for FreeBSD.  Could obviously be extended later for other OSen.
6
7case `uname -s` in
8        Darwin)
9                cc -c -DPIC -O -pipe -no-cpp-precomp $*
10        ;;
11
12        FreeBSD)
13                cc -c -fPIC -DPIC -I/usr/local/include/tcl8.3 -O -pipe $*
14        ;;
15        Linux)
16                cc -c -fPIC -DPIC -I/usr/include/tcl8.3 -O -pipe $*
17        ;;
18esac
Note: See TracBrowser for help on using the repository browser.