From 023c25b140adda1f57a887f70c9f4fec0635efbd Mon Sep 17 00:00:00 2001 From: p15-git-acc <37548430+p15-git-acc@users.noreply.github.com> Date: Thu, 24 Sep 2020 16:03:49 -0500 Subject: [PATCH] fix make profile --- Makefile.in | 2 +- Makefile.subdirs | 4 ++-- acb_dft/profile/p-convol.c | 2 +- acb_dft/profile/p-dft.c | 2 +- acb_dirichlet/profile/p-gauss.c | 2 +- acb_dirichlet/profile/p-jacobi.c | 2 +- acb_dirichlet/profile/p-vec.c | 2 +- dirichlet/profile/p-conrey.c | 2 +- dlog/profile/p-precomp.c | 2 +- dlog/profile/p-vec.c | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Makefile.in b/Makefile.in index b277c1cd..715e4259 100644 --- a/Makefile.in +++ b/Makefile.in @@ -69,7 +69,7 @@ clean: distclean: clean rm -f Makefile -profile: library $(PROF_SOURCES) $(EXT_PROF_SOURCES) build/profiler.o +profile: library $(PROF_SOURCES) $(EXT_PROF_SOURCES) mkdir -p build/profile ifndef MOD $(AT)$(foreach prog, $(PROFS), $(CC) $(ABI_FLAG) -std=c99 -O2 -g $(INCS) $(prog).c build/profiler.o -o build/$(prog) $(LIBS) || exit $$?;) diff --git a/Makefile.subdirs b/Makefile.subdirs index 859b1509..ef0f0aa7 100644 --- a/Makefile.subdirs +++ b/Makefile.subdirs @@ -40,8 +40,8 @@ profile: $(PROFS) -include $(patsubst %, %.d, $(PROFS)) -$(BUILD_DIR)/profile/%$(EXEEXT): profile/%.c $(BUILD_DIR)/../profiler.o - $(QUIET_CC) $(CC) $(ABI_FLAG) -O2 -std=c99 -g $(INCS) $< $(BUILD_DIR)/../profiler.o -o $@ $(LDLFAGS) $(LIBS) -MMD -MP -MF $@.d -MT "$@" -MT "$@.d" +$(BUILD_DIR)/profile/%$(EXEEXT): profile/%.c + $(QUIET_CC) $(CC) $(ABI_FLAG) -O2 -std=c99 -g $(INCS) $< -o $@ $(LDLFAGS) $(LIBS) -MMD -MP -MF $@.d -MT "$@" -MT "$@.d" tune: $(TUNE_SOURCES) $(HEADERS) $(AT)$(foreach prog, $(TUNE), $(CC) $(CFLAGS) $(INCS) $(prog).c -o $(BUILD_DIR)/$(prog) $(LDLFAGS) $(LIBS) || exit $$?;) diff --git a/acb_dft/profile/p-convol.c b/acb_dft/profile/p-convol.c index f8231ae5..f944fd45 100644 --- a/acb_dft/profile/p-convol.c +++ b/acb_dft/profile/p-convol.c @@ -11,7 +11,7 @@ #include #include "acb_dft.h" -#include "profiler.h" +#include "flint/profiler.h" #define LOG 0 #define CSV 1 diff --git a/acb_dft/profile/p-dft.c b/acb_dft/profile/p-dft.c index cb41d5a3..f0165e2b 100644 --- a/acb_dft/profile/p-dft.c +++ b/acb_dft/profile/p-dft.c @@ -11,7 +11,7 @@ #include #include "acb_dft.h" -#include "profiler.h" +#include "flint/profiler.h" #define LOG 0 #define CSV 1 diff --git a/acb_dirichlet/profile/p-gauss.c b/acb_dirichlet/profile/p-gauss.c index 0da2b59a..37ed74ea 100644 --- a/acb_dirichlet/profile/p-gauss.c +++ b/acb_dirichlet/profile/p-gauss.c @@ -11,7 +11,7 @@ #include #include "acb_dirichlet.h" -#include "profiler.h" +#include "flint/profiler.h" #define LOG 0 #define CSV 1 diff --git a/acb_dirichlet/profile/p-jacobi.c b/acb_dirichlet/profile/p-jacobi.c index 1ee581cd..f47ff43a 100644 --- a/acb_dirichlet/profile/p-jacobi.c +++ b/acb_dirichlet/profile/p-jacobi.c @@ -11,7 +11,7 @@ #include #include "acb_dirichlet.h" -#include "profiler.h" +#include "flint/profiler.h" #define LOG 0 #define CSV 1 diff --git a/acb_dirichlet/profile/p-vec.c b/acb_dirichlet/profile/p-vec.c index afe4c413..d57dc2bb 100644 --- a/acb_dirichlet/profile/p-vec.c +++ b/acb_dirichlet/profile/p-vec.c @@ -11,7 +11,7 @@ #include #include "acb_dirichlet.h" -#include "profiler.h" +#include "flint/profiler.h" #define LOG 0 #define CSV 1 diff --git a/dirichlet/profile/p-conrey.c b/dirichlet/profile/p-conrey.c index 5c86e9b0..bf4c04f2 100644 --- a/dirichlet/profile/p-conrey.c +++ b/dirichlet/profile/p-conrey.c @@ -11,7 +11,7 @@ #include #include "dirichlet.h" -#include "profiler.h" +#include "flint/profiler.h" #define LOG 0 #define CSV 1 diff --git a/dlog/profile/p-precomp.c b/dlog/profile/p-precomp.c index 1d810313..08615d90 100644 --- a/dlog/profile/p-precomp.c +++ b/dlog/profile/p-precomp.c @@ -12,7 +12,7 @@ #include #include #include "dlog.h" -#include "profiler.h" +#include "flint/profiler.h" #define NUMPRIMES 400 #define LOG 0 diff --git a/dlog/profile/p-vec.c b/dlog/profile/p-vec.c index fada4cbc..3c608fc6 100644 --- a/dlog/profile/p-vec.c +++ b/dlog/profile/p-vec.c @@ -11,7 +11,7 @@ #include #include "dlog.h" -#include "profiler.h" +#include "flint/profiler.h" #define NPRIMES 640 #define LOG 0