diff --git a/Makefile b/Makefile index b4a8019b4e6aed7ea25f3076c603b6d253bd41ce..2fb03eb54b321cdcd628fcbc4f9c16a41066ea6a 100644 --- a/Makefile +++ b/Makefile @@ -163,7 +163,7 @@ ifeq ($(PROC),ppc) endif ifeq ($(OSARCH),FreeBSD) - BSDVERSION=$(shell make -V OSVERSION -f /usr/share/mk/bsd.port.subdir.mk) + BSDVERSION=$(shell $(MAKE) -V OSVERSION -f /usr/share/mk/bsd.port.subdir.mk) ASTCFLAGS+=$(shell if test $(BSDVERSION) -lt 500016 ; then echo "-D_THREAD_SAFE"; fi) AST_LIBS+=$(shell if test $(BSDVERSION) -lt 502102 ; then echo "-lc_r"; else echo "-pthread"; fi) endif diff --git a/channels/Makefile b/channels/Makefile index ad898681a67956f73adba9a36c812e5f7b8515fa..9cb7482fbc1869354c0d54d4b47bbf3d92a091ca 100644 --- a/channels/Makefile +++ b/channels/Makefile @@ -64,7 +64,7 @@ include $(ASTTOPDIR)/Makefile.moddir_rules clean:: rm -f busy.h ringtone.h gentone - make -C misdn clean + $(MAKE) -C misdn clean ifneq ($(wildcard $(PWD)/Makefile.ast),) include $(PWD)/Makefile.ast