Hi all, please help me.
How to create makefile with target?
my question is this:
I have a file named "server.c" and must create a makefile for compile it in "cygwin" and in "solaris".
the tag for the compilation in cygwin are:
- Wall - DTRACE - g
the tag for solaris are:
- Wall - DTRACE - g - lsocket - lnsl - lresolv
the compiler i use is GCC
practically if i tape “make cygwin” he must create the file server.exe, while taping “make solaris” he must create the file called server
how can i make it?

help me urgent please.