Sponsored Content
Top Forums Shell Programming and Scripting GNU make doesn't pick up changes Post 302524653 by KenJackson on Tuesday 24th of May 2011 06:49:19 AM
Old 05-24-2011
I think it's that the target doesn't depend on the headers. So adding them:
Code:
program: $(OBJS) $(HDR)

 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Problems with gnu make

I am running a make file through the gnu make tool and i am getting the following error jsh1035c:/users/egate453/admegate/kapil/samples $ make -f GNUmakefile queue_c make -f ./GNUmakefile queue_c in_objdir=1 build_root=/users/egate453/admegate/kapil/samples make: Entering directory... (2 Replies)
Discussion started by: handak9
2 Replies

2. UNIX for Dummies Questions & Answers

What's the difference between PMake and GNU Make?

My system is ubuntu, can I use PMake ? (0 Replies)
Discussion started by: meili100
0 Replies

3. Solaris

SSH doesn't pick up user's project from /etc/project

We have a system running ssh. When a user logs in, they do not get the project they are assigned to (they run under "system"). I verify the project using the command "ps -e -o user,pid,ppid,args,project". If you do a "su - username", the user does get the project they are assigned to (and all... (2 Replies)
Discussion started by: kurgan
2 Replies

4. UNIX for Dummies Questions & Answers

my make doesn't work

hi I wrote the following makefile, I have just one problem, when i type make clean I get the message make 'clean' is up to date and any obj file is removed from my folder, what's wrong? Thank you CC = cc all: es.o elaboration.o $(CC) -o es es.o elaboration.o elaboration.o:... (0 Replies)
Discussion started by: Puntino
0 Replies

5. UNIX for Dummies Questions & Answers

a for loop that doesn't make sense

I've been referring bash info for processes and came across a structure for a process which is defined like typedef struct process { struct process *next; char ** argv . . . }process; What I don't understand is that in the program there's a for loop which goes like this job... (2 Replies)
Discussion started by: sdsd
2 Replies

6. Programming

Detecting host OS in Gnu make

Is this possible? Right now I'm developing some code for Linux, Windows and OS X. To build on each of the systems I've currently got separate build targets for each platform. Ideally I'd like to set up a single make rule that can detect the appropriate target and build it. I know this is... (2 Replies)
Discussion started by: G_Morgan
2 Replies

7. SCO

GNU cpp and make on SCO

Installed GNU make and the GNU C/C++ compiler on SCO Openserver 5.0.7 recently. Only a normal user is able to run make and compile programs - root is not able to. Under root, make do run, but root can't access the compiler at all, even tho I set root's path to point to the compiler.... (0 Replies)
Discussion started by: The_Librarian
0 Replies

8. AIX

Not picking up the GNU version of make

Hi team, I am new to unix,and need your advice on the below. I am using aix5.3 and have installed make-3.82 on the server. I need to use gmake for configuring and installing a package ,but it is giving error at the below root@sapsrp:/usr/tmp/xymon-4.3.2 # ./configure.server ... (7 Replies)
Discussion started by: sonal kumar
7 Replies
SHAPE_DEPEND(1) 					      General Commands Manual						   SHAPE_DEPEND(1)

NAME
shape_depend - shapeTools RMS determine source-include dependencies SYNOPSIS
shape depend [VERSIONS=<selection_rule>] [variants] DESCRIPTION
The shape release management system requires for each node system a file named Dependencies, listing the source-derived dependencies of the node components. shape depend automatically determines these dependencies and creates an appropriate Dependencies file. The dependencies have the form of regular Makefile target-dependents lines without associated build action. Note: shape depend only works for development of C programs. It additionally requires a C compiler supporting the -M (generate Makefile dependencies) option. If this is not the case in your development project, you must either rewrite the action associated with the depend target (in $(SHAPELIBPATH)/stdtargets) or maintain the Dependencies files manually. The VERSIONS macro defines the version selection rule to be used. Default is most_recent. See shape_stdrul(7) or the $(SHAPELIB- PATH)/stdrules file for other possible settings. You may also use self defined version selection rules as VERSIONS rule. If your development environment contains variant definitions, in especially variant definitions that modify the list of source components to be used during a build operation, you may also need to specify one or more variants to be set. The project wide variant raster is defined in $(SHAPELIBPATH)/stdvar. Check this file and the default variant settings in your Shapefile before invoking shape depend. INCONVENIENCES
Regeneration of the Dependencies file due to structural changes of the node system has to be triggered manually. Shape RMS doesn't recog- nize such changes. Variant specific Dependencies files (necessary when simultaneousky developing structurally different variants) are not supported. In this case you have to run shape depend prior to each build action. FILES
$(SHAPELIBPATH)/stdrules $(SHAPELIBPATH)/stdtargets $(SHAPELIBPATH)/stdvar SEE ALSO
shape_RMS (1) 24.8.119 SHAPE_DEPEND(1)
All times are GMT -4. The time now is 09:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy