ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/freemol/trunk/src/mengine/src/Makefile
Revision: 48
Committed: Thu Jul 31 16:34:52 2008 UTC (11 years, 8 months ago) by tjod
File size: 2547 byte(s)
Log Message:
Add modification notice to files modified for Freemol
per mengine/smi23d license requirements

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
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 #LD_DIR1 = /usr/local/LessTif/Motif1.2/lib/
15 #XLIBDIRS= -L/usr/X11R6/lib -L/usr/local/LessTif/Motif1.2/lib/
16 #XLIBDIRS= -L/usr/X11R6/lib -L/usr/local/lib/
17
18 # Red Hat with Open Group's Open Motif
19 #XLIBDIRS= -L/usr/X11R6/lib
20
21 # EXTLIBS = -lm -lXi -lXext -lX11
22 #LDFLAGS = ${LD_DIR1}libXm.so.1.0.2 ${LD_DIR1}libXt.so.6.0 ${LD_DIR1}libX11.so.6.1 -lm
23
24 # For Statically linked binary
25 LDFLAGS = -lm
26
27 # For normal shared library version
28 #LDFLAGS = -lXm -lXt -lX11 -lm
29
30 RM = rm -f
31 CP = cp -f
32
33 # destination dir; set this for your setup
34 #BIN_DIR = /usr/local/bin
35
36 DST = mengine.exe
37
38 SRCS = \
39 active.c etorsion.c read_pcm.c \
40 angles.c initiali.c kvdw.c readprm.c \
41 attach.c read_sdf.c mark.c \
42 column.c ehal.c kangle.c \
43 kbond.c matrix.c rings.c \
44 datastat.c rotbond.c \
45 diagc.c kcharge.c minimize.c search.c \
46 dipmom.c field.c numeral.c solve.c \
47 draw.c fnd_bond.c sring.c \
48 fnd_ring.c pcm7.c tncg.c \
49 eobpw.c get_mem.c pcmwin1.c torsions.c \
50 eangle.c eopbend.c mengine.c kopend.c pcmwin2.c type_mmx.c \
51 ebond.c epimer.c gmmx_run.c read.c \
52 asnsym.c kstrbnd.c utility.c \
53 ebufchrg.c estrbnd.c \
54 hessian.c ktorsion.c xlogp.c vibrate.c
55
56 OBJS = \
57 active.o etorsion.o read_pcm.o \
58 angles.o initiali.o kvdw.o readprm.o \
59 attach.o read_sdf.o mark.o \
60 column.o ehal.o kangle.o \
61 kbond.o matrix.o rings.o \
62 datastat.o rotbond.o \
63 diagc.o kcharge.o minimize.o search.o \
64 dipmom.o field.o numeral.o solve.o \
65 draw.o fnd_bond.o sring.o \
66 fnd_ring.o pcm7.o tncg.o \
67 eobpw.o get_mem.o pcmwin1.o torsions.o \
68 eangle.o eopbend.o mengine.o kopend.o pcmwin2.o type_mmx.o \
69 ebond.o epimer.o gmmx_run.o read.o \
70 asnsym.o kstrbnd.o utility.o \
71 ebufchrg.o estrbnd.o \
72 hessian.o ktorsion.o xlogp.o vibrate.o
73
74
75
76 ${DST}: $(OBJS)
77 ${CC} -g -o ${DST} ${OBJS} ${LDFLAGS}