mirror of
https://github.com/vale981/arb
synced 2025-03-04 08:51:40 -05:00
fix make profile
This commit is contained in:
parent
a976078288
commit
023c25b140
10 changed files with 11 additions and 11 deletions
|
@ -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 $$?;)
|
||||
|
|
|
@ -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 $$?;)
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
#include <string.h>
|
||||
#include "acb_dft.h"
|
||||
#include "profiler.h"
|
||||
#include "flint/profiler.h"
|
||||
|
||||
#define LOG 0
|
||||
#define CSV 1
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
#include <string.h>
|
||||
#include "acb_dft.h"
|
||||
#include "profiler.h"
|
||||
#include "flint/profiler.h"
|
||||
|
||||
#define LOG 0
|
||||
#define CSV 1
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
#include <string.h>
|
||||
#include "acb_dirichlet.h"
|
||||
#include "profiler.h"
|
||||
#include "flint/profiler.h"
|
||||
|
||||
#define LOG 0
|
||||
#define CSV 1
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
#include <string.h>
|
||||
#include "acb_dirichlet.h"
|
||||
#include "profiler.h"
|
||||
#include "flint/profiler.h"
|
||||
|
||||
#define LOG 0
|
||||
#define CSV 1
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
#include <string.h>
|
||||
#include "acb_dirichlet.h"
|
||||
#include "profiler.h"
|
||||
#include "flint/profiler.h"
|
||||
|
||||
#define LOG 0
|
||||
#define CSV 1
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
#include <string.h>
|
||||
#include "dirichlet.h"
|
||||
#include "profiler.h"
|
||||
#include "flint/profiler.h"
|
||||
|
||||
#define LOG 0
|
||||
#define CSV 1
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
#include <string.h>
|
||||
#include "dlog.h"
|
||||
#include "profiler.h"
|
||||
#include "flint/profiler.h"
|
||||
|
||||
#define NPRIMES 640
|
||||
#define LOG 0
|
||||
|
|
Loading…
Add table
Reference in a new issue