diff Makefile.in @ 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 198e2ee0f4b1
children 61a793b6e471
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 (@[email protected], 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) \