diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2007-12-13 16:18:53 +0900 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2007-12-19 14:50:07 +0900 |
commit | 4b3340f33467aa1bebfa05791dc53bbaf1028381 (patch) | |
tree | 124e1bec919e133fe6558ff023afc457ac906517 /purgatory | |
parent | 3f871456d4d350b5abdb2b7fdcfedec5743d6db2 (diff) | |
download | kexec-tools-4b3340f33467aa1bebfa05791dc53bbaf1028381.tar.gz |
make clean cleanup
Use a $(clean) variable to store all items that need to be removed on
'make clean' (eg, .o files).
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Simon Horman <horms@verge.net.au>
Conflicts:
Makefile.in
Diffstat (limited to 'purgatory')
-rw-r--r-- | purgatory/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/purgatory/Makefile b/purgatory/Makefile index 852ead9d..a543cdb4 100644 --- a/purgatory/Makefile +++ b/purgatory/Makefile @@ -18,6 +18,8 @@ include $(srcdir)/purgatory/arch/$(ARCH)/Makefile PURGATORY_OBJS = $(call objify, $(PURGATORY_SRCS)) purgatory/sha256.o PURGATORY_DEPS = $(call depify, $(PURGATORY_OBJS)) +clean += $(PURGATORY_OBJS) $(PURGATORY_DEPS) $(PURGATORY) + -include $(PURGATORY_DEPS) # sha256.c needs to be compiled without optimization, else |