aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorJ08nY2017-04-09 18:19:25 +0200
committerJ08nY2017-04-09 18:19:25 +0200
commit1834586a6850f3c93107271a0351accde78981fd (patch)
tree30a7b83ef6e289dda3beede9d5d5a8a3aac197c2 /src/Makefile
parent2c9a14b7323749af884279a564dabd710e089dcc (diff)
downloadecgen-1834586a6850f3c93107271a0351accde78981fd.tar.gz
ecgen-1834586a6850f3c93107271a0351accde78981fd.tar.zst
ecgen-1834586a6850f3c93107271a0351accde78981fd.zip
Added multi-threading support to invalid curve generation
Invalid curve generation now supports multi-threading via pthreads, use the --threads= option. - Changed some function params to const, where possible. - Added *_new_copy, *_clone and *_new_clone functions to curve_t*, point_t* and point_t** - Made cfg->bits unsigned long - Made order_any gcopy the generated order(as it can be a clone and screw up stuff later)
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 427d17f..8073387 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -10,7 +10,7 @@ CC ?= gcc
CFLAGS = -Wall
DEBUG ?= 1
ifeq (DEBUG, 1)
- CFLAGS += -g -DDEBUG
+ CFLAGS += -g -DDEBUG -v
else
CFLAGS += -O3 -DNDEBUG
endif
@@ -26,7 +26,7 @@ VPATH = cm:invalid:io:exhaustive:math
ECGEN_SRC = ecgen.c $(wildcard */*.c)
ECGEN_OBJ = $(patsubst %.c,%.o, $(ECGEN_SRC))
-ECONVERT_SRC = econvert.c $(wildcard */*.c)
+ECONVERT_SRC = econvert.c
ECONVERT_OBJ = $(patsubst %.c,%.o, $(ECONVERT_SRC))
SRC = $(wildcard *.c) $(wildcard */*.c)