changeset 1549:5212630893ab

only clean libtom when using bundled libraries
author Matt Johnston <matt@ucc.asn.au>
date Mon, 26 Feb 2018 23:13:54 +0800
parents 10dd3df31d5b
children 93a3726a36d6
files Makefile.in
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in	Mon Feb 26 23:12:59 2018 +0800
+++ b/Makefile.in	Mon Feb 26 23:13:54 2018 +0800
@@ -19,6 +19,7 @@
 
 ifeq (@BUNDLED_LIBTOM@, 1)
 LIBTOM_DEPS=$(STATIC_LTC) $(STATIC_LTM) 
+LIBTOM_CLEAN=ltc-clean ltm-clean
 CFLAGS+=-I$(srcdir)/libtomcrypt/src/headers/
 LIBTOM_LIBS=$(STATIC_LTC) $(STATIC_LTM)
 endif
@@ -221,7 +222,7 @@
 sizes: dropbear
 	objdump -t dropbear|grep ".text"|cut -d "." -f 2|sort -rn
 
-clean: ltc-clean ltm-clean thisclean
+clean: $(LIBTOM_CLEAN) thisclean
 
 thisclean:
 	-rm -f dropbear$(EXEEXT) dbclient$(EXEEXT) dropbearkey$(EXEEXT) \