ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/freemol/trunk/src/mengine/src/Makefile
Revision: 58
Committed: Mon Dec 1 06:44:59 2008 UTC (12 years, 6 months ago) by wdelano
File size: 2020 byte(s)
Log Message:
code merge 20081130
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     CFLAGS = -g -O3
10     #CFLAGS = -g -O3 -Wall -Wstrict-prototypes
11     #CFLAGS = -g -Wall -Wstrict-prototypes -pg -O -I/usr/local/LessTif/Motif1.2/include
12     #CFLAGS = -g -Wall -Wstrict-prototypes -pg -O -I/usr/local/Motif2.0/include
13    
14     LDFLAGS = -lm
15    
16     RM = rm -f
17     CP = cp -f
18    
19     # destination dir; set this for your setup
20     #BIN_DIR = /usr/local/bin
21    
22 tjod 29 DST = mengine.exe
23 tjod 3
24     SRCS = \
25     active.c etorsion.c read_pcm.c \
26     angles.c initiali.c kvdw.c readprm.c \
27     attach.c read_sdf.c mark.c \
28     column.c ehal.c kangle.c \
29 wdelano 58 kbond.c rings.c datastat.c \
30 tjod 3 diagc.c kcharge.c minimize.c search.c \
31     dipmom.c field.c numeral.c solve.c \
32 wdelano 58 draw.c sring.c \
33     pcm7.c tncg.c \
34 tjod 3 eobpw.c get_mem.c pcmwin1.c torsions.c \
35 tjod 15 eangle.c eopbend.c mengine.c kopend.c pcmwin2.c type_mmx.c \
36 wdelano 58 ebond.c gmmx_run.c read.c \
37 tjod 3 asnsym.c kstrbnd.c utility.c \
38     ebufchrg.c estrbnd.c \
39 wdelano 58 hessian.c ktorsion.c xlogp.c vibrate.c egeom.c esolv.c ksolv.c
40 tjod 3
41     OBJS = \
42     active.o etorsion.o read_pcm.o \
43     angles.o initiali.o kvdw.o readprm.o \
44     attach.o read_sdf.o mark.o \
45     column.o ehal.o kangle.o \
46 wdelano 58 kbond.o rings.o datastat.o \
47 tjod 3 diagc.o kcharge.o minimize.o search.o \
48     dipmom.o field.o numeral.o solve.o \
49 wdelano 58 draw.o sring.o \
50     pcm7.o tncg.o \
51 tjod 3 eobpw.o get_mem.o pcmwin1.o torsions.o \
52 tjod 15 eangle.o eopbend.o mengine.o kopend.o pcmwin2.o type_mmx.o \
53 wdelano 58 ebond.o gmmx_run.o read.o \
54 tjod 3 asnsym.o kstrbnd.o utility.o \
55     ebufchrg.o estrbnd.o \
56 wdelano 58 hessian.o ktorsion.o xlogp.o vibrate.o egeom.o esolv.o ksolv.o
57 tjod 3
58    
59    
60     ${DST}: $(OBJS)
61     ${CC} -g -o ${DST} ${OBJS} ${LDFLAGS}