ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/freemol/trunk/src/mengine/src/Makefile
Revision: 106
Committed: Fri Feb 20 21:04:40 2009 UTC (12 years, 3 months ago) by wdelano
File size: 1973 byte(s)
Log Message:
KEG_OPENMP ext
Line User Rev File contents
1 tjod 48 # NOTICE: this source code file has been modified for use with FreeMOL
2 tjod 3 CC = gcc
3    
4     # For FreeBSD uncomment the following
5     # CFLAGS = -g -Wall -O -I/usr/X11R6/include -DFREEBSD
6    
7     # For RedHat Linux; if you want warnings trys "-Wall" and
8     # for debugging "-g". Most of us (users) like it like this:
9 gilbertke 105 #CFLAGS = -g -O3 -ftree-vectorize
10 wdelano 106 CFLAGS = -g -O3 -ftree-vectorize -fopenmp -DKEG_OPENMP
11     #CFLAGS = -g -O3
12 tjod 3 #CFLAGS = -g -O3 -Wall -Wstrict-prototypes
13     #CFLAGS = -g -Wall -Wstrict-prototypes -pg -O -I/usr/local/LessTif/Motif1.2/include
14     #CFLAGS = -g -Wall -Wstrict-prototypes -pg -O -I/usr/local/Motif2.0/include
15    
16 gilbertke 105 #LDFLAGS = -lm
17     LDFLAGS = -lgomp -lm
18 tjod 3
19     RM = rm -f
20     CP = cp -f
21    
22     # destination dir; set this for your setup
23     #BIN_DIR = /usr/local/bin
24    
25 tjod 29 DST = mengine.exe
26 tjod 3
27     SRCS = \
28 gilbertke 103 active.c etorsion.c \
29 tjod 3 angles.c initiali.c kvdw.c readprm.c \
30 gilbertke 103 attach.c read_sdf.c \
31 gilbertke 63 ehal.c kangle.c \
32 wdelano 58 kbond.c rings.c datastat.c \
33 gilbertke 63 kcharge.c minimize.c search.c \
34 gilbertke 103 dipmom.c field.c numeral.c solve.c draw.c \
35 wdelano 58 pcm7.c tncg.c \
36 tjod 3 eobpw.c get_mem.c pcmwin1.c torsions.c \
37 gilbertke 85 eangle.c mengine.c kopend.c pcmwin2.c type_mmx.c \
38 wdelano 58 ebond.c gmmx_run.c read.c \
39 tjod 3 asnsym.c kstrbnd.c utility.c \
40     ebufchrg.c estrbnd.c \
41 gilbertke 103 ktorsion.c xlogp.c vibrate.c egeom.c esolv.c ksolv.c
42 tjod 3
43     OBJS = \
44 gilbertke 103 active.o etorsion.o \
45 tjod 3 angles.o initiali.o kvdw.o readprm.o \
46 gilbertke 103 attach.o read_sdf.o \
47 gilbertke 63 ehal.o kangle.o \
48 wdelano 58 kbond.o rings.o datastat.o \
49 gilbertke 63 kcharge.o minimize.o search.o \
50 tjod 3 dipmom.o field.o numeral.o solve.o \
51 gilbertke 102 draw.o \
52 wdelano 58 pcm7.o tncg.o \
53 tjod 3 eobpw.o get_mem.o pcmwin1.o torsions.o \
54 gilbertke 85 eangle.o mengine.o kopend.o pcmwin2.o type_mmx.o \
55 wdelano 58 ebond.o gmmx_run.o read.o \
56 tjod 3 asnsym.o kstrbnd.o utility.o \
57     ebufchrg.o estrbnd.o \
58 gilbertke 103 ktorsion.o xlogp.o vibrate.o egeom.o esolv.o ksolv.o
59 tjod 3
60    
61    
62     ${DST}: $(OBJS)
63     ${CC} -g -o ${DST} ${OBJS} ${LDFLAGS}