[GRASSLIST:5175] Re: makefiles in grass daily use

Eric G. Miller egm2 at jps.net
Sat Dec 7 00:14:17 EST 2002


On Sat, Dec 07, 2002 at 12:04:11PM +0800, Dan Jacobson wrote:
> Just curious how one should use makefiles in grass as a user.
> The problem is the results are seen deep in the file tree, not in the
> current directory, therefore one needs to add, say a touch(1):
> 
> allone:
>         g.region s=2610000 n=2611000 w=254500 e=255800
> 	r.mapcalc $@=1
>         touch $@
> 
> unless one wants to dabble in grass's internal paths.  Do all these
> touch(1)es sound smart?

Why is it you want to use makefiles for such things?  Shell scripts are
probably a better option.

-- 
"...the plural of anecdote is [not?] data."  - attrib. to George Stigler




More information about the grass-user mailing list