Mercurial > dropbear
comparison libtommath/makefile_include.mk @ 1546:bb8eaa26bc93 fuzz
merge from main
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 26 Feb 2018 22:44:48 +0800 |
parents | 47fcbdd12d9b |
children | f52919ffd3b1 |
comparison
equal
deleted
inserted
replaced
1530:63fa53d3b6c7 | 1546:bb8eaa26bc93 |
---|---|
15 # Compiler and Linker Names | 15 # Compiler and Linker Names |
16 ifndef CROSS_COMPILE | 16 ifndef CROSS_COMPILE |
17 CROSS_COMPILE= | 17 CROSS_COMPILE= |
18 endif | 18 endif |
19 | 19 |
20 ifeq ($(CC),cc) | 20 # Dropbear passes these down |
21 CC = $(CROSS_COMPILE)gcc | 21 #ifeq ($(CC),cc) |
22 endif | 22 # CC = $(CROSS_COMPILE)gcc |
23 LD=$(CROSS_COMPILE)ld | 23 #endif |
24 AR=$(CROSS_COMPILE)ar | 24 #LD=$(CROSS_COMPILE)ld |
25 RANLIB=$(CROSS_COMPILE)ranlib | 25 #AR=$(CROSS_COMPILE)ar |
26 #RANLIB=$(CROSS_COMPILE)ranlib | |
26 | 27 |
27 ifndef MAKE | 28 ifndef MAKE |
28 MAKE=make | 29 MAKE=make |
29 endif | 30 endif |
30 | 31 |
111 | 112 |
112 clean: | 113 clean: |
113 rm -f *.gcda *.gcno *.gcov *.bat *.o *.a *.obj *.lib *.exe *.dll etclib/*.o demo/demo.o test ltmtest mpitest mtest/mtest mtest/mtest.exe \ | 114 rm -f *.gcda *.gcno *.gcov *.bat *.o *.a *.obj *.lib *.exe *.dll etclib/*.o demo/demo.o test ltmtest mpitest mtest/mtest mtest/mtest.exe \ |
114 *.idx *.toc *.log *.aux *.dvi *.lof *.ind *.ilg *.ps *.log *.s mpi.c *.da *.dyn *.dpi tommath.tex `find . -type f | grep [~] | xargs` *.lo *.la | 115 *.idx *.toc *.log *.aux *.dvi *.lof *.ind *.ilg *.ps *.log *.s mpi.c *.da *.dyn *.dpi tommath.tex `find . -type f | grep [~] | xargs` *.lo *.la |
115 rm -rf .libs/ | 116 rm -rf .libs/ |
116 ${MAKE} -C etc/ clean MAKE=${MAKE} | 117 #${MAKE} -C etc/ clean MAKE=${MAKE} |
117 ${MAKE} -C doc/ clean MAKE=${MAKE} | 118 #${MAKE} -C doc/ clean MAKE=${MAKE} |