Blame view

make.inc 832 Bytes
af19620a   Kévin Duquette   Add all files
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53

LIB=../lib/libmudpack.a

UNAMES := $(shell uname -s)

ifeq ($(UNAMES),Linux)


    AR := /usr/bin/ar
    F90 := gfortran 
#   F90 := gfortran -fdefault-real-8 
    CPP := gfortran -cpp
    MAKE := /usr/bin/gmake


endif

ifeq ($(UNAMES),AIX)

  F90 := xlf -qmoddir=../lib -I../lib
  CPP := xlf -d -qnoobject
  MAKE := gmake
  AR := /usr/bin/ar

endif

ifeq ($(UNAMES),SunOS)

    AR := /usr/ccs/bin/ar
    F90 := /opt/SUNWspro/bin/f90 -moddir=../lib -I../lib
    CPP := /opt/SUNWspro/bin/f90 -F
    MAKE := /fs/local/bin/make

endif

ifeq ($(UNAMES),IRIX64)

    AR := /usr/bin/ar
    F90 := f90 -I../lib
    CPP := f90 -E
    MAKE := /usr/local/bin/gmake

endif

ifeq ($(UNAMES),Darwin)

    AR := /usr/bin/ar
    F90 := gfortran 
#   F90 := gfortran -fdefault-real-8 
    CPP := gfortran -cpp
    MAKE := /usr/bin/gnumake

endif