fix make profile

This commit is contained in:
p15-git-acc 2020-09-24 16:03:49 -05:00
parent a976078288
commit 023c25b140
10 changed files with 11 additions and 11 deletions

View file

@ -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 $$?;)

View file

@ -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 $$?;)

View file

@ -11,7 +11,7 @@
#include <string.h>
#include "acb_dft.h"
#include "profiler.h"
#include "flint/profiler.h"
#define LOG 0
#define CSV 1

View file

@ -11,7 +11,7 @@
#include <string.h>
#include "acb_dft.h"
#include "profiler.h"
#include "flint/profiler.h"
#define LOG 0
#define CSV 1

View file

@ -11,7 +11,7 @@
#include <string.h>
#include "acb_dirichlet.h"
#include "profiler.h"
#include "flint/profiler.h"
#define LOG 0
#define CSV 1

View file

@ -11,7 +11,7 @@
#include <string.h>
#include "acb_dirichlet.h"
#include "profiler.h"
#include "flint/profiler.h"
#define LOG 0
#define CSV 1

View file

@ -11,7 +11,7 @@
#include <string.h>
#include "acb_dirichlet.h"
#include "profiler.h"
#include "flint/profiler.h"
#define LOG 0
#define CSV 1

View file

@ -11,7 +11,7 @@
#include <string.h>
#include "dirichlet.h"
#include "profiler.h"
#include "flint/profiler.h"
#define LOG 0
#define CSV 1

View file

@ -12,7 +12,7 @@
#include <math.h>
#include <string.h>
#include "dlog.h"
#include "profiler.h"
#include "flint/profiler.h"
#define NUMPRIMES 400
#define LOG 0

View file

@ -11,7 +11,7 @@
#include <string.h>
#include "dlog.h"
#include "profiler.h"
#include "flint/profiler.h"
#define NPRIMES 640
#define LOG 0