Make Everything My Precious
November 2, 2007 1:58 PM   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 answer 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 Ghostly   |   Where can I have a huge MySQL database hosted? Newer »
This thread is closed to new comments.