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