aboutsummaryrefslogtreecommitdiff
blob: d81ec793b51035c541e4dd9b0d047ba0b0b5688c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
--- src/makefile	2009-02-27 16:51:46.492890717 +0100
+++ src/makefile.new	2009-02-27 16:52:18.295619642 +0100
@@ -5,8 +5,8 @@
 
 BIN = $(MOLREP)/bin
 
-OBJS =  main_molrep_mtz.o molrep.o molrep1.o molrep2.o molrep3.o molrep_prog.o molrep_prog1.o molrep_prog2.o molrep_subr.o molrep_dummy.o molrep_sym.o molrep_unix.o
-OBJSL =  main_molrep_mtz.o molrep.o molrep1.o molrep2.o molrep3.o molrep_prog.o molrep_prog1.o molrep_prog2.o molrep_subr.o molrep_sym.o molrep_unix.o
+OBJS =  main_molrep_mtz.o molrep.o molrep1.o molrep2.o molrep3.o molrep_prog.o molrep_prog1.o molrep_prog2.o molrep_subr.o molrep_dummy.o molrep_sym_ccp4.o molrep_unix_ccp4.o
+OBJSL =  main_molrep_mtz.o molrep.o molrep1.o molrep2.o molrep3.o molrep_prog.o molrep_prog1.o molrep_prog2.o molrep_subr.o molrep_sym_ccp4.o molrep_unix_ccp4.o
 
 
 all: molrep
@@ -19,31 +19,31 @@
 # -----------------------------
 
 molrep.o: molrep.f 
-	$(MR_FORT) -c molrep.f 
+	$(MR_FORT) $(FFLAGS) -c molrep.f
 molrep1.o: molrep1.f 
-	$(MR_FORT) -c molrep1.f 
+	$(MR_FORT) $(FFLAGS) -c molrep1.f
 molrep2.o: molrep2.f 
-	$(MR_FORT) -c molrep2.f 
+	$(MR_FORT) $(FFLAGS) -c molrep2.f
 molrep3.o: molrep3.f 
-	$(MR_FORT) -c molrep3.f 
+	$(MR_FORT) $(FFLAGS) -c molrep3.f
 molrep_prog.o: molrep_prog.f 
-	$(MR_FORT) -c molrep_prog.f 
+	$(MR_FORT) $(FFLAGS) -c molrep_prog.f
 molrep_prog1.o: molrep_prog1.f 
-	$(MR_FORT) -c molrep_prog1.f 
+	$(MR_FORT) $(FFLAGS) -c molrep_prog1.f
 molrep_prog2.o: molrep_prog2.f 
-	$(MR_FORT) -c molrep_prog2.f 
+	$(MR_FORT) $(FFLAGS) -c molrep_prog2.f
 molrep_subr.o: molrep_subr.f  
-	$(MR_FORT) -c molrep_subr.f 
-molrep_sym.o: molrep_sym.f  
-	$(MR_FORT) -c molrep_sym.f 
+	$(MR_FORT) $(FFLAGS) -c molrep_subr.f
+molrep_sym_ccp4.o: molrep_sym.f  
+	$(MR_FORT) $(FFLAGS) -c molrep_sym_ccp4.f 
 main_molrep_mtz.o: main_molrep_mtz.f molrep_version.fh molrep_keywords.fh 
-	$(MR_FORT) -c main_molrep_mtz.f 
-molrep_unix.o: molrep_unix.f 
-	$(MR_FORT) -c molrep_unix.f 
+	$(MR_FORT) $(FFLAGS) -c main_molrep_mtz.f 
+molrep_unix_ccp4.o: molrep_unix.f 
+	$(MR_FORT) $(FFLAGS) -c molrep_unix_ccp4.f 
 molrep_dummy.o: molrep_dummy.f 
-	$(MR_FORT) -c molrep_dummy.f 
+	$(MR_FORT) $(FFLAGS) -c molrep_dummy.f 
 
 molrep: $(OBJS)
-	$(MR_FORT) -o $(BIN)/molrep $(OBJSL) $(MR_LIBRARY)
+	$(MR_FORT) $(FFLAGS) $(LDFLAGS) -o $(BIN)/molrep $(OBJSL) $(MR_LIBRARY)
 
 # --------------------------------