title: gcc generate .o file instead of executable
body: <p>I'm trying to debug claws-mail notification plugin, I have code like this:</p>
  
  <pre><code>#include "notification_indicator.h"
  #include "notification_prefs.h"
  #include "notification_core.h"
  
  #include "folder.h"
  #include "common/utils.h"
  
  #include &lt;messaging-menu.h&gt;
  #include &lt;unity.h&gt;
  
  #define CLAWS_DESKTOP_FILE "claws-mail.desktop"
  
  #include &lt;stdio.h&gt;
  
  void main(void)
  {
    GList *cur_mb;
    gint total_message_count;
  
  
    total_message_count = 0;
    /* check accounts for new/unread counts */
    for(cur_mb = folder_get_list(); cur_mb; cur_mb = cur_mb-&gt;next) {
      Folder *folder = cur_mb-&gt;data;
      NotificationMsgCount count;
  
      if(!folder-&gt;name) {
        printf("Notification plugin: Warning: Ignoring unnamed mailbox in indicator applet\n");
        continue;
      }
      gchar *id = folder-&gt;name;
      notification_core_get_msg_count_of_foldername(folder-&gt;name, &amp;count);
      printf("%s: %d\n", folder-&gt;name, count.unread_msgs);
    }
  }
  </code></pre>
  
  <p>and I'm compiling it with this command:</p>
  
  <pre><code>gcc  -I/home/kuba/Pobrane/claws-mail-3.13.2/src/
       -I/usr/include/gtk-2.0/
       -I/usr/include/cairo/
       -I/usr/include/pango-1.0
       -I/usr/lib/i386-linux-gnu/gtk-2.0/include/
       -I/usr/include/gdk-pixbuf-2.0/
       -I/usr/include/atk-1.0/
       -I/home/kuba/Pobrane/claws-mail-3.13.2/src/common
       -I/home/kuba/Pobrane/claws-mail-3.13.2/src/gtk
       -I/usr/include/messaging-menu/
       -I/usr/include/unity/unity/
       -I/usr/include/dee-1.0/
       -I/usr/include/libdbusmenu-glib-0.4/
       -c `pkg-config --cflags glib-2.0` test.c
  </code></pre>
  
  <p>but gcc create object file test.o instead of a.out how can I create executable file? I'm running this on Xubuntu.</p>