🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #140

gmake 3.62

#140
From: Robert L Krawitz
Date: Mon, 13 Apr 1992 18:19
47 lines
1517 bytes
This code:

define stuff
	@echo; echo; echo Running examples for $d; echo
	-cd $d; $(MAKE) clean
	-cd $d; $(MAKE) run
	-cd $d; $(MAKE) clean

endef

examples:
	$(foreach d, $(DIRS), $(stuff))

does this:

gmake -v
GNU Make version 3.62, by Richard Stallman and Roland McGrath.
Copyright (C) 1988-1991 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.



Running examples for block-sparse

/bin/sh: -cd: not found
gmake[1]: *** No way to make target `clean'.  Stop.
/bin/sh: -cd: not found
gmake[1]: *** No way to make target `run'.  Stop.
/bin/sh: -cd: not found
gmake[1]: *** No way to make target `clean'.  Stop.
/bin/sh: @echo: not found

Running examples for block-tridiag

/bin/sh: -cd: not found
gmake[1]: *** No way to make target `clean'.  Stop.
/bin/sh: -cd: not found
gmake[1]: *** No way to make target `run'.  Stop.
/bin/sh: -cd: not found
gmake[1]: *** No way to make target `clean'.  Stop.
/bin/sh: @echo: not found

...

In 3.58, I believe that this worked.
Technical Details
Message-ID: <9204131819.AA03561@underprize.think.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!think.com!rlk

Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!think.com!rlk
From: rlk@think.com (Robert L Krawitz)
Subject: gmake 3.62
Message-ID: <9204131819.AA03561@underprize.think.com>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Mon, 13 Apr 1992 18:19:02 GMT
Approved: bug-gnu-utils@prep.ai.mit.edu
Lines: 48