I've been writing a small program for a school project using g++, I ran into some difficulties when I tried to configure a simple make file. For some reason, the compiler couldn't link the files properly when I used the make command with g++. I tried the same thing on the solaris machines in school but changed compiler to CC (Solaris compiler), and then everything worked just fine. It also worked fine when I used the gmake command with the g++ compiler.

Is there some syntax you could use that would make everything build fine using the regular make command? I don't want to have to force people to use gmake for a regular small program.

Nice forum btw