[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dynamically building (temp) include file - how to delete on exit?
From: |
Basile Starynkevitch |
Subject: |
Re: dynamically building (temp) include file - how to delete on exit? |
Date: |
Sat, 16 Jun 2012 23:05:53 +0200 |
On Sat, 16 Jun 2012 09:49:12 -0500
address@hidden wrote:
> Pls consider:
>
> TMPF=$(shell tmpf=$$(mktemp /tmp/ddefs.XXXXXXXXX);build-ddefs.sh >
> $$tmpf;echo $$tmpf)
> include $(TMPF)
> # defines several make macros
Perhaps .INTERMEDIATE file and
http://www.gnu.org/software/make/manual/html_node/Chained-Rules.html#Chained-Rules
could be useful.
Cheers
--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mine, sont seulement les miennes} ***
Re: dynamically building (temp) include file - how to delete on exit?,
Basile Starynkevitch <=