🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #652

make 3.62 "bug"

#652
From: Matthew Watson
Date: Thu, 27 Aug 1992 13:00
22 lines
1436 bytes
I seem to have found a problem with GNU make 3.62. 

I am using the $(wildcard *.c ) function in initialisation of some variable at
the top of my make file, and in some commands. Also the $(wildcard *.h)
function is used in come commands.

Initially there are no *.c or *.h files in the current directory. Before
the commands are run, make is called  in some subdirectories and as a
result .c and .h files are copied into the current directory.

The command which uses the $(wildcard *.h) function works fine, getting
all the .h files, but the command which uses $(wildcard *.c ) thinks there
are no .c files present, which is not correct, but which was correct when
the variable was initialised up at the top.

I don't have the time to track down such a bug. Anyone else seen this sort
of thing?
-- 

-------------------------------------------------------------------------------
     -  Matthew Watson -  	   | MHSnet: mattw@cssc-syd.tansu.com.au
     Australian and Overseas	   |
Technical Details
Message-ID: <1992Aug27.130048.15301@cssc-syd.tansu.com.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cssc-syd.tansu.COM.AU!mattw

Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cssc-syd.tansu.COM.AU!mattw
From: mattw@cssc-syd.tansu.COM.AU (Matthew Watson)
Subject: make 3.62 "bug"
Message-ID: <1992Aug27.130048.15301@cssc-syd.tansu.com.au>
Sender: gnulists@ai.mit.edu
Organization: Customised Software Solutions Centres, AOTC
Distribution: gnu
Date: Thu, 27 Aug 1992 13:00:48 GMT
Approved: bug-gnu-utils@prep.ai.mit.edu
Lines: 23