with "general_lib.gpr";
project Main is
   for Languages   use ("C");
   for Source_dirs use ("../libraries"); 
   for Main        use ("c_main.c");
  
   case General_Lib.Kind is
      when "static" =>
         for Object_Dir use "obj";
      when "dynamic" | "extern" =>
         for Object_Dir use "obj1";
   end case;

   for Roots ("c_main.c") use ("ada_lib");
   package Builder is
      for Executable ("c_main.c") use "main";
   end Builder;
end Main;
