################################################################################
###
### Copyright (C) 2009      University of Toronto
###
################################################################################
###
###  module     : build script
###
###  author     : {lessig|tyler}@dgp.toronto.edu
###
###  project    : Spherical Harmonics rotation
###
###  description: Scons build script for library for rotproj by Greengard
###               and Gimbutas.
###
###  license    : See README for details.
###
################################################################################

# imports, scons
import platform

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

env = Environment(FORTRANFLAGS ='-O2')
env.StaticLibrary( target = target_name, 
                   source = ['rotproj.f', 'dfft.f', 'yrecursion.f'])

