saxs and adam's corrections to multichain
[unres.git] / source / wham / src / Makefile_jump
1 BIN = ../bin
2 CC = cc
3 CFLAGS = -DAIX -c
4 FC = mpxlf90  -qlistopt -qfixed -w
5 OPT = -q64 
6 FFLAGS = -c ${OPT} -O3  -I./include_unres 
7 #FFLAGS = -c ${OPT} -g -C  -I./include_unres 
8 LIBS = xdrf/libxdrf.o xdrf/ftocstr.o
9 CPPFLAGS =  -WF,-DMPI -WF,-DAIX -WF,-DUNRES -WF,-DSPLITELE -WF,-DPROCOR -WF,-DISNAN
10
11 .SUFFIXES: .F
12 .F.o:
13         ${FC} ${FFLAGS} ${CPPFLAGS} $*.F
14
15 .SUFFIXES: .c
16 .c.o:
17         ${CC} ${CFLAGS} $*.c
18
19 all: make_dbase
20
21 objects = \
22         wham_multparm.o \
23         bxread.o \
24         xread.o \
25         cxread.o \
26         enecalc1.o \
27         energy_p_new.o \
28         initialize_p.o \
29         molread_zs.o \
30         openunits.o \
31         readrtns.o \
32         arcos.o \
33         cartder.o \
34         cartprint.o \
35         chainbuild.o \
36         geomout.o \
37         icant.o \
38         intcor.o \
39         int_from_cart.o \
40         make_ensemble1.o \
41         matmult.o \
42         misc.o \
43         mygetenv.o \
44         parmread.o \
45         pinorm.o \
46         printmat.o \
47         rescode.o \
48         setup_var.o \
49         slices.o \
50         store_parm.o \
51         timing.o \
52         wham_calc1.o
53
54 objects_compar = \
55         readrtns_compar.o \
56         readpdb.o fitsq.o contact.o \
57         elecont.o contfunc.o cont_frag.o conf_compar.o match_contact.o \
58         angnorm.o odlodc.o promienie.o qwolynes.o read_ref_str.o \
59         rmscalc.o secondary.o proc_cont.o define_pairs.o mysort.o
60
61 make_dbase: ${objects} ${objects_compar}
62         cc -o compinfo compinfo.c
63         ./compinfo
64         ${FC} -c ${FFLAGS} cinfo.f
65         $(FC) ${OPT} ${objects} ${objects_compar} cinfo.o \
66         ${LIBS} -o ${BIN}/wham_multparm-T-procor-c1
67
68 clean:
69         /bin/rm *.o