diff options
author | Cam Tenny <[email protected]> | 2012-10-24 18:52:40 -0400 |
---|---|---|
committer | Cam Tenny <[email protected]> | 2012-10-24 18:52:40 -0400 |
commit | 241c068066c51e9e06adf6d45834b97a50d029cf (patch) | |
tree | 8b46e774134c4078c275f179778a230f702f9cc4 | |
parent | c440b5cd972c61c4fb0504896beac79dc017afd8 (diff) | |
download | xv6-labs-241c068066c51e9e06adf6d45834b97a50d029cf.tar.gz xv6-labs-241c068066c51e9e06adf6d45834b97a50d029cf.tar.bz2 xv6-labs-241c068066c51e9e06adf6d45834b97a50d029cf.zip |
Prevent extra rebuild of fs.img by keeping intermediate object files.
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -148,6 +148,12 @@ _forktest: forktest.o $(ULIB) mkfs: mkfs.c fs.h gcc -Werror -Wall -o mkfs mkfs.c +# Prevent deletion of intermediate files, e.g. cat.o, after first build, so +# that disk image changes after first build are persistent until clean. More +# details: +# http://www.gnu.org/software/make/manual/html_node/Chained-Rules.html +.PRECIOUS: %.o + UPROGS=\ _cat\ _echo\ |