ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/freemol/trunk/src/mengine/src/Makefile
Revision: 85
Committed: Mon Jan 12 15:05:44 2009 UTC (10 years, 9 months ago) by gilbertke
File size: 1940 byte(s)
Log Message:
more cleanup and code removal
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 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 DST = mengine.exe
23
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 ehal.c kangle.c \
29 kbond.c rings.c datastat.c \
30 kcharge.c minimize.c search.c \
31 dipmom.c field.c numeral.c solve.c \
32 draw.c sring.c \
33 pcm7.c tncg.c \
34 eobpw.c get_mem.c pcmwin1.c torsions.c \
35 eangle.c mengine.c kopend.c pcmwin2.c type_mmx.c \
36 ebond.c gmmx_run.c read.c \
37 asnsym.c kstrbnd.c utility.c \
38 ebufchrg.c estrbnd.c \
39 hessian.c ktorsion.c xlogp.c vibrate.c egeom.c esolv.c ksolv.c
40
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 ehal.o kangle.o \
46 kbond.o rings.o datastat.o \
47 kcharge.o minimize.o search.o \
48 dipmom.o field.o numeral.o solve.o \
49 draw.o sring.o \
50 pcm7.o tncg.o \
51 eobpw.o get_mem.o pcmwin1.o torsions.o \
52 eangle.o mengine.o kopend.o pcmwin2.o type_mmx.o \
53 ebond.o gmmx_run.o read.o \
54 asnsym.o kstrbnd.o utility.o \
55 ebufchrg.o estrbnd.o \
56 hessian.o ktorsion.o xlogp.o vibrate.o egeom.o esolv.o ksolv.o
57
58
59
60 ${DST}: $(OBJS)
61 ${CC} -g -o ${DST} ${OBJS} ${LDFLAGS}