|
From: | ravi_murdeshwar |
Subject: | need help with the Makefile |
Date: | Wed, 7 Sep 2005 13:13:46 -0600 |
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] |