-target_link_libraries(centralized simgrid m )
-target_link_libraries(bugged1 simgrid m )
-target_link_libraries(bugged2 simgrid m )
-target_link_libraries(bugged3 simgrid m )
-target_link_libraries(random_test simgrid m )
-target_link_libraries(bugged1_liveness simgrid m )
-target_link_libraries(bugged2_liveness simgrid m )
-target_link_libraries(centralized_liveness simgrid m )
-target_link_libraries(centralized_liveness_deadlock simgrid m )
-target_link_libraries(test_snapshot simgrid m )
-endif(HAVE_MC)
+ add_executable(centralized centralized_mutex.c)
+ add_executable(bugged1 bugged1.c)
+ add_executable(bugged2 bugged2.c)
+ add_executable(bugged3 bugged3.c)
+ add_executable(bugged1_liveness bugged1_liveness.c)
+ add_executable(bugged2_liveness bugged2_liveness.c)
+ add_executable(chord/chord_liveness chord/chord_liveness.c)
+ add_executable(test/snapshot_comparison1 test/snapshot_comparison1.c)
+ add_executable(test/snapshot_comparison2 test/snapshot_comparison2.c)
+ add_executable(test/snapshot_comparison3 test/snapshot_comparison3.c)
+ add_executable(test/snapshot_comparison4 test/snapshot_comparison4.c)
+ add_executable(test/snapshot_comparison5 test/snapshot_comparison5.c)
+
+ target_link_libraries(centralized simgrid )
+ target_link_libraries(bugged1 simgrid )
+ target_link_libraries(bugged2 simgrid )
+ target_link_libraries(bugged3 simgrid )
+ target_link_libraries(bugged1_liveness simgrid )
+ target_link_libraries(bugged2_liveness simgrid )
+ target_link_libraries(chord/chord_liveness simgrid )
+ target_link_libraries(test/snapshot_comparison1 simgrid )
+ target_link_libraries(test/snapshot_comparison2 simgrid )
+ target_link_libraries(test/snapshot_comparison3 simgrid )
+ target_link_libraries(test/snapshot_comparison4 simgrid )
+ target_link_libraries(test/snapshot_comparison5 simgrid )
+
+endif()