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
11 # See README file for info
13 # Use architecture alx/ald if you are running linux!
15 SYSDEFS = -DCINVSQRT -DFINVSQRT -DHAVE_STRCASECMP -DHAVE_STRDUP
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
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!!!
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)
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.
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)
49 ALLOPT = -O5 -tune host -fast -math_library fast -unroll 2 -arch host -pipeline -fp_reorder #-inline all
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)
59 CFLAGS = -std1 $(ALLOPT) -w0 -warnprotos #-trapuv
60 FFLAGS = $(ALLOPT) -assume noaccuracy_sensitive
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
74 SYSLIBS = -ldnet_stub -lm
75 XLIBS = $(SYSLIBS) -lX11
82 SYSLIBS += -lrt -limc -pthread