compile: test_c test_cpp 
#compile_c compile_cpp 

#compile_cpp:
	#g++ -std=c++11 -shared -Wl,-soname,libtest_cpp.so -fPIC -o libtest_cpp.so  test.cpp ../../../graph-parser/src/betweenness_centrality.cpp ../../../graph-parser/src/parser.cpp ../../../graph-parser/src/betweenness_centrality_heuristic.cpp  ../../../graph-parser/src/sub_component.cpp ../../../graph-parser/src/graph_manager.cpp ../../../graph-parser/src/utility.cpp ../../../graph-parser/src/graph_parser.cpp ../prince/src/parser.c -ljson-c
#compile_c:
	#g++ -Ddyn_lib -shared -Wl,-soname,libtest_c.so -fPIC -o libtest_c.so  test.cpp ../graph-parser_c/src/graph_parser.c ../graph-parser_c/src/biconnected.c ../graph-parser_c/src/brandes.c ../graph-parser_c/src/graph/graph.c ../graph-parser_c/src/graph/list.c ../prince/src/parser.c -ljson-c -pthread
test_cpp:
	g++ --std=c++11 ../../../graph-parser/src/betweenness_centrality_heuristic.cpp ../../../graph-parser/src/betweenness_centrality.cpp ../../../graph-parser/src/graph_manager.cpp ../../../graph-parser/src/sub_component.cpp ../../../graph-parser/src/utility.cpp ../../../graph-parser/src/parser.cpp ../../../graph-parser/src/graph_parser.cpp ../../../graph-parser/src/test.cpp -o c++.out
test_c:
	gcc -g ../../../graph-parser_c/src/biconnected.c ../../../graph-parser_c/src/brandes.c ../../../graph-parser_c/src/graph/list.c ../../../graph-parser_c/src/graph/graph.c ../../../graph-parser_c/src/graph_parser.c ../../../graph-parser_c/src/network_change.c ../../../graph-parser_c/src/test.c ../parser.c  -ljson-c -pthread -lm -o c.out 
	
