################################################################################
###
### Copyright (C) 2009      University of Toronto
###
################################################################################
###
###  module     : build script
###
###  author     : lessig@dgp.toronto.edu
###
###  project    : Spherical Harmonics rotation
###
###  description: Scons build script for Fortran optimization code.
###
###  license    : See README for details.
###
################################################################################

# imports, scons
import platform

target_name = 'routines'
if 'x86_64' == platform.machine():
  target_name += '_x86_64' 

env = Environment(FORTRANFLAGS ='-O2 -m64')
target = env.StaticLibrary( target = target_name, 
                         source = ['routines.f'])

Default(env.Install( dir = "../lib", source = target))

