-
Notifications
You must be signed in to change notification settings - Fork 6
/
Makefile
115 lines (99 loc) · 6.53 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
ifeq ($(whereisrun), walid)
CC = gcc
INCLUDES = -I/home/wmawass/gsl/include
CFLAGS = $(INCLUDES) -O3 -frounding-math
LDFLAGS = -L/home/wmawass/gsl/lib
mutationload: main.o dependencies/pcg_basic.o sharedfunc_flag.o relative_functions.o absolute_functions.o
$(CC) $(LDFLAGS) -O3 -frounding-math dependencies/pcg_basic.o main.o sharedfunc_flag.o relative_functions.o absolute_functions.o -lm -lgsl -lgslcblas -o mutationload
main.o: main.c
$(CC) $(CFLAGS) -c main.c
dependencies/pcg_basic.o: dependencies/pcg_basic.c
$(CC) $(CFLAGS) -c dependencies/pcg_basic.c
sharedfunc_flag.o: sharedfunc_flag.c
$(CC) $(CFLAGS) -c sharedfunc_flag.c
relative_functions.o: relative_functions.c
$(CC) $(CFLAGS) -c relative_functions.c
absolute_functions.o: absolute_functions.c
$(CC) $(CFLAGS) -c absolute_functions.c
endif
ifeq ($(whereisrun), hpculises)
CC = gcc
INCLUDES = -I/home/u12/uliseshmc/tskit/c -I/home/u12/uliseshmc/tskit/c/subprojects/kastore/
CFLAGS = $(INCLUDES) -O3 -frounding-math
mutationload: main.o dependencies/pcg_basic.o sharedfunc_flag.o relative_functions.o absolute_functions.o /home/u12/uliseshmc/tskit/c/tskit/tables.o /home/u12/uliseshmc/tskit/c/subprojects/kastore/kastore.o /home/u12/uliseshmc/tskit/c/tskit/core.o /home/u12/uliseshmc/tskit/c/tskit/genotypes.o /home/u12/uliseshmc/tskit/c/tskit/trees.o
$(CC) -O3 -frounding-math dependencies/pcg_basic.o main.o sharedfunc_flag.o relative_functions.o absolute_functions.o tables.o kastore.o core.o genotypes.o trees.o -lm -lgsl -lgslcblas -o mutationload
main.o: main.c
$(CC) $(CFLAGS) -c main.c
dependencies/pcg_basic.o: dependencies/pcg_basic.c
$(CC) $(CFLAGS) -c dependencies/pcg_basic.c
sharedfunc_flag.o: sharedfunc_flag.c
$(CC) $(CFLAGS) -c sharedfunc_flag.c
relative_functions.o: relative_functions.c
$(CC) $(CFLAGS) -c relative_functions.c
absolute_functions.o: absolute_functions.c
$(CC) $(CFLAGS) -c absolute_functions.c
/home/u12/uliseshmc/tskit/c/tskit/tables.o: /home/u12/uliseshmc/tskit/c/tskit/tables.c
$(CC) $(CFLAGS) -c -std=c99 /home/u12/uliseshmc/tskit/c/tskit/tables.c
/home/u12/uliseshmc/tskit/c/subprojects/kastore/kastore.o: /home/u12/uliseshmc/tskit/c/subprojects/kastore/kastore.c
$(CC) $(CFLAGS) -c -std=c99 /home/u12/uliseshmc/tskit/c/subprojects/kastore/kastore.c
/home/u12/uliseshmc/tskit/c/tskit/core.o: /home/u12/uliseshmc/tskit/c/tskit/core.c
$(CC) $(CFLAGS) -c -std=c99 /home/u12/uliseshmc/tskit/c/tskit/core.c
/home/u12/uliseshmc/tskit/c/tskit/genotypes.o: /home/u12/uliseshmc/tskit/c/tskit/genotypes.c
$(CC) $(CFLAGS) -c -std=c99 /home/u12/uliseshmc/tskit/c/tskit/genotypes.c
/home/u12/uliseshmc/tskit/c/tskit/trees.o: /home/u12/uliseshmc/tskit/c/tskit/trees.c
$(CC) $(CFLAGS) -c -std=c99 /home/u12/uliseshmc/tskit/c/tskit/trees.c
endif
ifeq ($(whereisrun), HPC)
CC = gcc
INCLUDES = -I/home/u5/walidmawass/tskit/c -I/home/u5/walidmawass/tskit/c/subprojects/kastore/
CFLAGS = $(INCLUDES) -O3 -frounding-math
mutationload: main.o dependencies/pcg_basic.o sharedfunc_flag.o relative_functions.o absolute_functions.o /home/u5/walidmawass/tskit/c/tskit/tables.o /home/u5/walidmawass/tskit/c/subprojects/kastore/kastore.o /home/u5/walidmawass/tskit/c/tskit/core.o /home/u5/walidmawass/tskit/c/tskit/trees.o
$(CC) -O3 -frounding-math pcg_basic.o main.o sharedfunc_flag.o relative_functions.o absolute_functions.o tables.o kastore.o core.o trees.o -lm -lgsl -lgslcblas -o mutationload
main.o: main.c
$(CC) $(CFLAGS) -c main.c
dependencies/pcg_basic.o: dependencies/pcg_basic.c
$(CC) $(CFLAGS) -c dependencies/pcg_basic.c
sharedfunc_flag.o: sharedfunc_flag.c
$(CC) $(CFLAGS) -c sharedfunc_flag.c
relative_functions.o: relative_functions.c
$(CC) $(CFLAGS) -c relative_functions.c
absolute_functions.o: absolute_functions.c
$(CC) $(CFLAGS) -c absolute_functions.c
/home/u5/walidmawass/tskit/c/tskit/tables.o: /home/u5/walidmawass/tskit/c/tskit/tables.c
$(CC) $(CFLAGS) -c -std=c99 /home/u5/walidmawass/tskit/c/tskit/tables.c
/home/u5/walidmawass/tskit/c/subprojects/kastore/kastore.o: /home/u5/walidmawass/tskit/c/subprojects/kastore/kastore.c
$(CC) $(CFLAGS) -c -std=c99 /home/u5/walidmawass/tskit/c/subprojects/kastore/kastore.c
/home/u5/walidmawass/tskit/c/tskit/core.o: /home/u5/walidmawass/tskit/c/tskit/core.c
$(CC) $(CFLAGS) -c -std=c99 /home/u5/walidmawass/tskit/c/tskit/core.c
/home/u5/walidmawass/tskit/c/tskit/genotypes.o: /home/u5/walidmawass/tskit/c/tskit/genotypes.c
$(CC) $(CFLAGS) -c -std=c99 /home/u5/walidmawass/tskit/c/tskit/genotypes.c
/home/u5/walidmawass/tskit/c/tskit/trees.o: /home/u5/walidmawass/tskit/c/tskit/trees.c
$(CC) $(CFLAGS) -c -std=c99 /home/u5/walidmawass/tskit/c/tskit/trees.c
endif
ifeq ($(whereisrun), micaila)
CC = gcc
INCLUDES = -I/home/u6/micailamarcelle/tskit/c -I/home/u6/micailamarcelle/tskit/c/subprojects/kastore/
CFLAGS = $(INCLUDES) -O3 -frounding-math
mutationload: main.o dependencies/pcg_basic.o sharedfunc_flag.o relative_functions.o absolute_functions.o /home/u6/micailamarcelle/tskit/c/tskit/tables.o /home/u6/micailamarcelle/tskit/c/subprojects/kastore/kastore.o /home/u6/micailamarcelle/tskit/c/tskit/core.o /home/u6/micailamarcelle/tskit/c/tskit/genotypes.o /home/u6/micailamarcelle/tskit/c/tskit/trees.o
$(CC) -O3 -frounding-math pcg_basic.o main.o sharedfunc_flag.o relative_functions.o absolute_functions.o tables.o kastore.o core.o genotypes.o trees.o -lm -lgsl -lgslcblas -o mutationload
main.o: main.c
$(CC) $(CFLAGS) -c main.c
dependencies/pcg_basic.o: dependencies/pcg_basic.c
$(CC) $(CFLAGS) -c dependencies/pcg_basic.c
sharedfunc_flag.o: sharedfunc_flag.c
$(CC) $(CFLAGS) -c sharedfunc_flag.c
relative_functions.o: relative_functions.c
$(CC) $(CFLAGS) -c relative_functions.c
absolute_functions.o: absolute_functions.c
$(CC) $(CFLAGS) -c absolute_functions.c
/home/u6/micailamarcelle/tskit/c/tskit/tables.o: /home/u6/micailamarcelle/tskit/c/tskit/tables.c
$(CC) $(CFLAGS) -c -std=c99 /home/u6/micailamarcelle/tskit/c/tskit/tables.c
/home/u6/micailamarcelle/tskit/c/subprojects/kastore/kastore.o: /home/u6/micailamarcelle/tskit/c/subprojects/kastore/kastore.c
$(CC) $(CFLAGS) -c -std=c99 /home/u6/micailamarcelle/tskit/c/subprojects/kastore/kastore.c
/home/u6/micailamarcelle/tskit/c/tskit/core.o: /home/u6/micailamarcelle/tskit/c/tskit/core.c
$(CC) $(CFLAGS) -c -std=c99 /home/u6/micailamarcelle/tskit/c/tskit/core.c
/home/u6/micailamarcelle/tskit/c/tskit/genotypes.o: /home/u6/micailamarcelle/tskit/c/tskit/genotypes.c
$(CC) $(CFLAGS) -c -std=c99 /home/u6/micailamarcelle/tskit/c/tskit/genotypes.c
/home/u6/micailamarcelle/tskit/c/tskit/trees.o: /home/u6/micailamarcelle/tskit/c/tskit/trees.c
$(CC) $(CFLAGS) -c -std=c99 /home/u6/micailamarcelle/tskit/c/tskit/trees.c
endif