Change 'make' into '$(MAKE)' for libtommath installation

If hardcoded, 'make' will use native FreeBSD 'make' instead of 'gmake'.
This commit is contained in:
arthurmaciel 2019-12-28 10:12:33 -03:00 committed by GitHub
parent 34ece856d8
commit c3cf1b04f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,7 +61,7 @@ clean :
rm -f tests/array-list-tests rm -f tests/array-list-tests
rm -f tests/macro-hygiene rm -f tests/macro-hygiene
rm -f tests/match-tests 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 install : libs install-libs install-includes install-bin
$(MKDIR) $(DESTDIR)$(DATADIR) $(MKDIR) $(DESTDIR)$(DATADIR)
@ -173,7 +173,7 @@ dispatch.c : generate-c.scm
$(CYC_RT_LIB) : $(CFILES) $(HEADERS) $(CYC_BN_LIB) $(CYC_RT_LIB) : $(CFILES) $(HEADERS) $(CYC_BN_LIB)
$(CYC_BN_LIB) : $(CYC_BN_LIB_SUBDIR)/*.c $(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) hashset.o : hashset.c $(HEADERS)
$(CCOMP) -c $< -o $@ $(CCOMP) -c $< -o $@