[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Help on .INTERMEDIATE
From: |
Hoolam Woon |
Subject: |
Help on .INTERMEDIATE |
Date: |
Thu, 31 Jan 2008 17:21:44 +1100 |
User-agent: |
Thunderbird 2.0.0.9 (Windows/20071031) |
Hi,
I'm having trouble with removing unwanted intermediate files and
directories. My very simple makefile is as follow:
tempFile:= $(shell mktemp -p .)
tempDir:= $(shell mktemp -d -p .)
.INTERMEDIATE: $(tempFile) $(tempDir)
all:
ls -l $(tempFile) $(tempDir)
I'm expecting both $(tempFile) and $(tempDir) to be removed when make
completes, but they are not.
Where did I go wrong? Did I misunderstood .INTERMEDIATE?
Thanks in advance.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Help on .INTERMEDIATE,
Hoolam Woon <=