changed reading hint
[gromacs/adressmacs.git] / src / makef / Makefile.dec
blob52bcb5d9a73550fbe1ce3634a4f04674191a6596
1 # Alpha/Dec (Tru64 unix)
2 #       @(#) Makefile.dec 1.2 5/15/97
5 #       GROMACS - Groningen Machine for Chemical Simulation
6 #       Copyright (c) 1990, 1991, 1992, Groningen University
8 #       Makefile for gromacs on DEC alpha machines with DEC C and Fortran
9 #       compilers.
11 #       See README file for info
13 # Use architecture alx/ald if you are running linux!
15 SYSDEFS         = -DCINVSQRT -DFINVSQRT -DHAVE_STRCASECMP -DHAVE_STRDUP
17
18 #       USER MODIFIABLE SECTION
20 # If you want to use fortran innerloops set this to yes
21 # For most machines this will improve the performance quite a bit
22 # because C-compilers are not as good as Fortran compilers
23 USEF77          = yes
25 # If you want to run in *** P A R A L L E L ***
26 # please select either PVM or MPI, check with your local hacker
27 # to see what's installed at your site. If you have neither,
28 # set both to no. If you select both, something will break!!!
30 USE_PVM3        = no
31 USE_MPI         = no
33 # If you want to use compressed data files set this to yes
34 # This uses the xdr libraries of your UNIX system, which is virtually
35 # Allways present, because it is necessary for NFS (network file system)
37 USE_XDR         = yes
39 # If you want to use the GMX/Motif user interface (and if you have Motif
40 # or lesstif (www.lesstif.org) installed) set HAVE_MOTIF to yes.
41 HAVE_MOTIF      = no
43 # Note that these variables are also used in Makefile.std
44 # If something does not work, please check out the link command line
45 # in that file (e.g. for PVM)
48 # Dec C compilers
49 ALLOPT          = -O5 -tune host -fast -math_library fast  -unroll 2 -arch host -pipeline -fp_reorder #-inline all 
50 #ALLOPT         = -g
53 # If you have cc.alt installed you should try to use it, it gives faster code
54 # but is not guaranteed by DEC (let alone by the GROMACS crew)
55 #CC             = cc.alt
56 CC              = cc
57 F77             = f77
59 CFLAGS          = -std1 $(ALLOPT) -w0 -warnprotos #-trapuv
60 FFLAGS          = $(ALLOPT) -assume noaccuracy_sensitive
62 LDFLAGS         = -L$(LIBDIR) 
63 LD              = $(CC)  $(LDFLAGS) 
64 RUNLDOPT        = -O4 -non_shared
65 FLD             = $(F77) $(LDFLAGS)
67 # Generic linking stuff
69 ifeq ($(HAVE_MOTIF),yes)
70 SYSDEFS         += -DHAVE_MOTIF
71 SYSLIBS         = -lm -lXm -lXt -lSM -lICE -lX11 -ldnet_stub #-lefence
72 XLIBS           = $(SYSLIBS)
73 else
74 SYSLIBS         = -ldnet_stub -lm
75 XLIBS           = $(SYSLIBS) -lX11 
76 endif
78 ARFLAGS         = ruv
79 RANLIB          = ranlib
81 ifeq ($(USE_MPI),yes)
82 SYSLIBS         += -lrt -limc -pthread
83 endif