ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/freemol/trunk/src/mengine/src/Makefile
Revision: 120
Committed: Tue Jun 16 22:01:48 2009 UTC (11 years, 4 months ago) by wdelano
File size: 1865 byte(s)
Log Message:
warnings
Line File contents
1 # NOTICE: this source code file has been modified for use with FreeMOL
2 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 #CFLAGS = -g -O3 -ftree-vectorize
10 #CFLAGS = -g -O3 -ftree-vectorize -fopenmp -DKEG_OPENMP
11 #CFLAGS = -g -O3
12 CFLAGS = -g -O3 -ansi -std=gnu99 -pedantic -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 LDFLAGS = -lm
17 #LDFLAGS = -lgomp -lm
18
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 DST = mengine.exe
26
27 SRCS = \
28 active.c angles.c attach.c asnsym.c datastat.c dipmom.c draw.c \
29 eangle.c ebond.c ebufchrg.c egeom.c ehal.c eobpw.c esolv.c \
30 estrbnd.c etorsion.c field.c get_mem.c gmmx_run.c initiali.c kangle.c \
31 kbond.c kcharge.c kimptors.c kopend.c ksolv.c kstrbnd.c ktorsion.c \
32 kvdw.c mengine.c minimize.c numeral.c pcm7.c pcmwin1.c pcmwin2.c \
33 read.c read_sdf.c readprm.c rings.c search.c solve.c \
34 tncg.c torsions.c type_mmx.c utility.c vibrate.c xlogp.c \
35 elj.c eimptors.c echarge.c
36
37 OBJS = \
38 active.o angles.o attach.o asnsym.o datastat.o dipmom.o draw.o \
39 eangle.o ebond.o ebufchrg.o egeom.o ehal.o eobpw.o esolv.o \
40 estrbnd.o etorsion.o field.o get_mem.o gmmx_run.o initiali.o kangle.o \
41 kbond.o kcharge.o kimptors.o kopend.o ksolv.o kstrbnd.o ktorsion.o \
42 kvdw.o mengine.o minimize.o numeral.o pcm7.o pcmwin1.o pcmwin2.o \
43 read.o read_sdf.o readprm.o rings.o search.o solve.o \
44 tncg.o torsions.o type_mmx.o utility.o vibrate.o xlogp.o \
45 elj.o eimptors.o echarge.o
46
47
48
49 ${DST}: $(OBJS)
50 ${CC} -g -o ${DST} ${OBJS} ${LDFLAGS}