Here's what I get when I build my project:
**** Build of configuration Debug for project Hello World ****
make all
Building target: Hello World.exe
Invoking: Cygwin C++ Linker
g++ -o "Hello World.exe" ./Hello\ World.o ./Hey.o ./Seconds.o
cygwin warning:
MS-DOS style path detected: C:\Users\Chris\workspace\Hello World\Debug
Preferred POSIX equivalent is: /cygdrive/c/Users/Chris/workspace/Hello World/Debug
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
./Seconds.o: In function `main':
/cygdrive/c/Users/Chris/workspace/Hello World/Debug/../Seconds.cpp:5: multiple definition of `_main'
./Hey.o:/cygdrive/c/Users/Chris/workspace/Hello World/Debug/../Hey.cpp:13: first defined here
collect2: ld returned 1 exit status
make: *** [Hello World.exe] Error 1
**** Build Finished ****