diff --git a/Fonderie/Makefile b/Fonderie/Makefile index adf66d3..a28bfb8 100644 --- a/Fonderie/Makefile +++ b/Fonderie/Makefile @@ -3,7 +3,7 @@ # et de tout le crap... # -COPT = -g -pg -fpic -no-pie -Wall -DDEBUG_LEVEL=0 -Werror=parentheses +COPT = -g -fpic -no-pie -Wall -DDEBUG_LEVEL=0 -Werror=parentheses LIBS = ../libfloatimg.a -lpnglite -lm OBJS = fonctions.o sfx.o crapulator.o glitches.o metriques.o diff --git a/Fonderie/t.c b/Fonderie/t.c index 949aca8..6f1f9e4 100644 --- a/Fonderie/t.c +++ b/Fonderie/t.c @@ -14,8 +14,8 @@ int verbosity; #define PNG "out.png" -#define W 800 -#define H 600 +#define W 512 +#define H 512 #define LMAX 233.333 #define TIMER 1 @@ -26,7 +26,8 @@ FloatImg image; char buff[1000]; double debut, fin; float omega; -verbosity = 1; + +verbosity = 2; fimg_print_version(1); @@ -36,10 +37,12 @@ if (foo) { exit(1); } +fimg_printhead(&image); + srand(getpid()); debut = fimg_timer_set(TIMER); -for (iter=0; iter<72; iter++) { +for (iter=0; iter<127; iter++) { fimg_vdeg_a(&image, LMAX); @@ -62,6 +65,8 @@ for (iter=0; iter<72; iter++) { fin = fimg_timer_set(TIMER); fprintf(stderr, "elapsed %f\n", fin-debut); +fimg_destroy(&image); + return 0; } diff --git a/funcs/Makefile b/funcs/Makefile index f3a45e3..6c6455d 100644 --- a/funcs/Makefile +++ b/funcs/Makefile @@ -1,6 +1,6 @@ #--------------------------------------------------------------- -COPT = -Wall -fpic -g -pg -no-pie -DDEBUG_LEVEL=0 +COPT = -Wall -fpic -g -no-pie -DDEBUG_LEVEL=0 DEPS = ../floatimg.h Makefile OBJS = fimg-png.o fimg-tiff.o misc-plots.o filtrage.o utils.o \ diff --git a/lib/Makefile b/lib/Makefile index 4dbdf43..0f3dfea 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -2,7 +2,7 @@ # building the base library # -COPT = -Wall -fpic -g -pg -no-pie -DDEBUG_LEVEL=0 +COPT = -Wall -fpic -g -no-pie -DDEBUG_LEVEL=0 OBJS = fimg-core.o fimg-pnm.o fimg-file.o fimg-math.o \ fimg-timers.o operators.o fimg-2gray.o \