-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
72 lines (50 loc) · 3.4 KB
/
Makefile
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
62
63
64
65
66
67
68
69
70
71
72
compiler = gfortran
objects = routines.o maintest.o
flags = -O -g -fbounds-check -fcheck=all -Wall
double = -fdefault-real-8
#all: maintest.x f90nautyinterf.mod hashtest.x event_hash.x cycles.x hashing_sites.x
#all: f90nautyinterf.mod hashtest.x event_hash.x cycles.x hashing_sites.x
#all: f90nautyinterf.mod event_hash.x
#all: f90nautyinterf.mod one_event.x parse_syst.x
#all: f90nautyinterf.mod one_event.x p11.x
#all: f90nautyinterf.mod one_event22.x p22.x
#all: f90nautyinterf.mod one_event33.x p33.x
all: f90nautyinterf.mod one_event33.x p44.x
ffnautyex1_sestic.o:
gcc -c ./ctofinterf/ffnautyex1_sestic.c -I./nauty/nauty26r11/
#maintest.x : $(objects)
# $(compiler) $(double) -o maintest.x $(objects)
%.o: %.f90
$(compiler) $(double) ${flags} -c $<
f90nautyinterf.mod: ./ctofinterf/interface.f90
$(compiler) $(double) ${flags} -c $<
sort_index.o: ./ctofinterf/sort_index.f90
$(compiler) $(double) ${flags} -c $<
hashtest.x : routines.o hashtest.o f90nautyinterf.mod
$(compiler) $(double) -o hashtest.x routines.o hashtest.o interface.o
event_hash.x: routines.o f90nautyinterf.mod sort_index.o event_hash.o ffnautyex1_sestic.o
$(compiler) $(double) -o event_hash.x routines.o event_hash.o interface.o sort_index.o ffnautyex1_sestic.o ./nauty/nauty26r11/nauty.a
one_event.x: routines.o f90nautyinterf.mod sort_index.o one_event.o ffnautyex1_sestic.o
$(compiler) $(double) -o one_event.x routines.o one_event.o interface.o sort_index.o ffnautyex1_sestic.o ./nauty/nauty26r11/nauty.a
one_event22.x: routines.o f90nautyinterf.mod sort_index.o one_event22.o ffnautyex1_sestic.o
$(compiler) $(double) -o one_event22.x routines.o one_event22.o interface.o sort_index.o ffnautyex1_sestic.o ./nauty/nauty26r11/nauty.a
one_event33.x: routines.o f90nautyinterf.mod sort_index.o one_event33.o ffnautyex1_sestic.o
$(compiler) $(double) -o one_event33.x routines.o one_event33.o interface.o sort_index.o ffnautyex1_sestic.o ./nauty/nauty26r11/nauty.a
#cycles.x: routines.o f90nautyinterf.mod sort_index.o cycles.o ffnautyex1_sestic.o
# $(compiler) $(double) -o cycles.x routines.o cycles.o interface.o sort_index.o ffnautyex1_sestic.o ./nauty/nauty26r11/nauty.a
hashing_sites.x: routines.o f90nautyinterf.mod sort_index.o ffnautyex1_sestic.o hashing_sites.o
$(compiler) $(double) -o hashing_sites.x routines.o interface.o sort_index.o ffnautyex1_sestic.o ./nauty/nauty26r11/nauty.a hashing_sites.o
parse_syst.x: routines.o f90nautyinterf.mod sort_index.o ffnautyex1_sestic.o parse_syst.o
$(compiler) $(double) -o parse_syst.x routines.o interface.o sort_index.o ffnautyex1_sestic.o ./nauty/nauty26r11/nauty.a parse_syst.o
p11.x: routines.o f90nautyinterf.mod sort_index.o ffnautyex1_sestic.o p11.o
$(compiler) $(double) -o p11.x routines.o interface.o sort_index.o ffnautyex1_sestic.o ./nauty/nauty26r11/nauty.a p11.o
p22.x: routines.o f90nautyinterf.mod sort_index.o ffnautyex1_sestic.o p22.o
$(compiler) $(double) -o p22.x routines.o interface.o sort_index.o ffnautyex1_sestic.o ./nauty/nauty26r11/nauty.a p22.o
p33.x: routines.o f90nautyinterf.mod sort_index.o ffnautyex1_sestic.o p33.o
$(compiler) $(double) -o p33.x routines.o interface.o sort_index.o ffnautyex1_sestic.o ./nauty/nauty26r11/nauty.a p33.o
p44.x: routines.o f90nautyinterf.mod sort_index.o ffnautyex1_sestic.o p44.o
$(compiler) $(double) -o p44.x routines.o interface.o sort_index.o ffnautyex1_sestic.o ./nauty/nauty26r11/nauty.a p44.o
clean:
rm -f *.o
rm -f *.mod
rm -f *.x