Make Everything My Precious
November 2, 2007 1:58 PM   RSS feed for this thread Subscribe

I'm using the 'make' utility on a Linux system. Is there a way in a Makefile to set all the intermediate files as PRECIOUS without having to list them individually?
posted by bluefly to computers & internet (1 comment total)
Can you do either:

.PRECIOUS: %.o

while specifying a pattern that matches your particular need, or:

.SECONDARY:

to suppress automatic deletion of intermediate files? This won't help if your losing intermediate files due to interruption of make, but will suppress the automatic removal.

These are described in detail in the make documentation.
posted by doorsnake at 2:41 PM on November 2, 2007


« Older Are there any Native American ...   |   Where can I have a huge MySQL ... Newer »
This thread is closed to new comments.