-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
35 lines (21 loc) · 1.16 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
#
# Makefile for non-Microsoft compilers
#
execute:
g++ -o graph_parameters_PNG graph_analysis_PNG.cpp -I/workspaces/Stanford-Algorithm-Project/snap-core -I/workspaces/Stanford-Algorithm-Project/glib-core -lsnap -lrt -fopenmp
g++ -o graph_parameters_PUNG graph_analysis_PUNG.cpp -I/workspaces/Stanford-Algorithm-Project/snap-core -I/workspaces/Stanford-Algorithm-Project/glib-core -lsnap -lrt -fopenmp
./graph_parameters_PNG > result_png.txt
./graph_parameters_PUNG > result_pung.txt
generate_graphs :
python3 csv_to_txt_twitch.py
python3 csv_to_txt_github.py
python3 csv_to_txt_wikipedia.py
python3 csv_to_txt_facebook.py
clean :
rm -r graph_parameters_PNG
rm -r graph_parameters_PUNG
display_graph :
g++ -o degree_distribution_PNG degree_distribution_PNG.cpp -I/workspaces/Stanford-Algorithm-Project/snap-core -I/workspaces/Stanford-Algorithm-Project/glib-core -lsnap -lrt -fopenmp
g++ -o degree_distribution_PUNG degree_distribution_PUNG.cpp -I/workspaces/Stanford-Algorithm-Project/snap-core -I/workspaces/Stanford-Algorithm-Project/glib-core -lsnap -lrt -fopenmp
./degree_distribution_PNG
./degree_distribution_PUNG