.PHONY: all
all: your-name-client your-name-server
your-name-client: your-name-client.c
# action to build your-name-client
your-name-server: your-name-server.c
# action to build your-name-server
Heidi Khan wrote:
Assume that you have written a client/server application (say
your-name-server.c and your-name-client.c) and need to compile it using
a Makefile. How to write a Makefile that will compile both your client
and server code in one go?
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
------------------------------------------------------------------------
_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/help-make
_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/help-make