summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNagi5Yeq <nagi5yeq@gmail.com>2019-07-07 11:13:10 +0800
committerNagi5Yeq <nagi5yeq@gmail.com>2019-07-07 11:13:10 +0800
commitcef1a01404b5003383214b62aabf535859545f4e (patch)
tree87cc45ac13ebe7090d9de4af3303a2ed77241b8d /Makefile
parent04a6585110e764c50502104e82fae9f38a2600d3 (diff)
add verify, but have bug
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 3ca3a4d..f470107 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,13 @@
-CFLAGS=-O2 -Wall -Wno-unused-result
+CFLAGS=-g -Wall -Wno-unused-result
all: libfe448.a
.PHONY: test
test: defs.h fe448.h ge448.h sc448.h sha3.h libfe448.a
- $(CC) $(CFLAGS) -I. t/testv.c libfe448.a -o test.out
- ./test.out
+ $(CC) $(CFLAGS) -I. t/testsign.c libfe448.a -o testsign.out
+ $(CC) $(CFLAGS) -I. t/testverify.c libfe448.a -o testverify.out
+ ./testsign.out
+ ./testverify.out
fe448.o: defs.h fe448.h