🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.misc.discuss
Article #2224

Problems with GNU make 3.75

#2224
From: abr
Date: Wed, 20 Nov 1996 00:00
23 lines
1907 bytes
I am trying to use GNU make 3.75 under AIX 3.2.5 on a makefile that used to work fine with the default make.  Using a suffix rule (or the GNU implict rule) I run into problems.  The object directory is seperate to the source directories.

The problem occurs with a suffix rule

.
.cpp.o:

The object file dependency has the full path against it so it only seems to check for the cpp file in the same directory for the suffix rule.

The object file excplitly also has a set of dependencies against it including the cpp file. 
 
When I run make in debug mode it comes up say it has found the cpp dependency file and it is newer than the o file but then says that no dependencies have changed.

Doing a very similar action on a file inserted into a library works fine.

I'm confused.

Any help would be appreciated. 

Please reply by e-mail (abr@bha.oz.au)
-----------------------------------------------------------------------
This article was posted to Usenet via the Posting Service at Deja News:
http://www.dejanews.com/           [Search, Post, and Read Usenet News]
Technical Details
Message-ID: <848473696.25910@dejanews.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,2b544ff61ec9ea44,start
X-Google-Attributes: gid11318c,public
X-Google-Thread: 109f73,2b544ff61ec9ea44,start
X-Google-Attributes: gid109f73,public
X-Google-Thread: 1025b4,2b544ff61ec9ea44,start
X-Google-Attributes: gid1025b4,public
X-Google-Thread: 10ba33,2b544ff61ec9ea44,start
X-Google-Attributes: gid10ba33,public
From: abr@bha.oz.au
Subject: Problems with GNU make 3.75
Date: 1996/11/20
Message-ID: <848473696.25910@dejanews.com>
X-Deja-AN: 197594505
to: abr@bha.oz.au
x-originating-ip-addr: 192.147.246.195 ()
organization: BHA Computer
x-article-creation-date: Wed Nov 20 07:46:49 1996 GMT
x-authenticated-sender: abr@bha.oz.au
reply-to: abr@bha.oz.au
newsgroups: gnu.misc.discuss,gnu.g++.help,gnu.gcc.help,gnu.utils.help