🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Robert L Krawitz Mon, 13 Apr 1992 18:19
gmake 3.62
#140
Author: 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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads