|
From: | ravi_murdeshwar |
Subject: | RE: need help with the Makefile |
Date: | Thu, 8 Sep 2005 12:19:15 -0600 |
Hi all. Did anybody got the chance to take a look
at following request ? Thanks .. -- Raviraj Murdeshwar. 408.553.4318 From: address@hidden
[mailto:address@hidden On Behalf Of address@hidden Hi.. I am working on a project to define the make system.
Currently customer has ~50 shell scripts for different deliverables which does
copying the files around and then in certain cases modifying them(ah…)
and the compiling with the different CFLAGS. Some scripts are platform
specific. I need to convert them to a Make system. I am familiar with
the simple makefile structure and I am planning to use gnu-make. I have basic makefile structure in place. The master
makefile will include ‘common.mk’ (which has all the required
variables) and ‘rules.mk’ (which has general rules for compile and
link). I have couple of questions as follows:
targetx:
CFLAGS += XX LDFLAGS
+= XX
$(MAKE) –C xdir $(CFLAGS) Targety:
CFLAGS += YY
LDFLAGS += YY
$(MAKE) –C ydir $(CFLAGS)
Thanks in advance.. -- Raviraj Murdeshwar. |
[Prev in Thread] | Current Thread | [Next in Thread] |