From a3e02742f21e3e95d3eac80d1636e8d49af0515e Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Sun, 22 May 2022 18:32:19 +0200 Subject: [PATCH] Add USE_PERL fallback option for create script used with FUNCTION_PROFILE --- interface/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/interface/Makefile b/interface/Makefile index f57d0bda0..abdac96e1 100644 --- a/interface/Makefile +++ b/interface/Makefile @@ -531,8 +531,11 @@ $(BLASOBJS) $(BLASOBJS_P) : functable.h $(BLASOBJS) $(BLASOBJS_P) : override CFLAGS += -DPROFILE_FUNC_NAME=interface_$(*F) functable.h : Makefile +ifndef USE_PERL ./create $(FUNCALLFILES) > functable.h - +else + ./create.pl $(FUNCALLFILES) > functable.h +endif endif clean ::