From c3cf1b04f92f34b3c4298db8a47428204ef340f0 Mon Sep 17 00:00:00 2001 From: arthurmaciel Date: Sat, 28 Dec 2019 10:12:33 -0300 Subject: [PATCH] Change 'make' into '$(MAKE)' for libtommath installation If hardcoded, 'make' will use native FreeBSD 'make' instead of 'gmake'. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c5a5e7ef..c1fe43d2 100644 --- a/Makefile +++ b/Makefile @@ -61,7 +61,7 @@ clean : rm -f tests/array-list-tests rm -f tests/macro-hygiene rm -f tests/match-tests - cd $(CYC_BN_LIB_SUBDIR) ; make clean + cd $(CYC_BN_LIB_SUBDIR) ; $(MAKE) clean install : libs install-libs install-includes install-bin $(MKDIR) $(DESTDIR)$(DATADIR) @@ -173,7 +173,7 @@ dispatch.c : generate-c.scm $(CYC_RT_LIB) : $(CFILES) $(HEADERS) $(CYC_BN_LIB) $(CYC_BN_LIB) : $(CYC_BN_LIB_SUBDIR)/*.c - cd $(CYC_BN_LIB_SUBDIR) ; make LIBNAME=$(CYC_BN_LIB) && cp $(CYC_BN_LIB) ../.. + cd $(CYC_BN_LIB_SUBDIR) ; $(MAKE) LIBNAME=$(CYC_BN_LIB) && cp $(CYC_BN_LIB) ../.. hashset.o : hashset.c $(HEADERS) $(CCOMP) -c $< -o $@