Added test

This commit is contained in:
John Newby
2019-08-01 15:45:51 +02:00
parent b2937be297
commit 4da3c6e62b
5 changed files with 117 additions and 9 deletions
+12
View File
@@ -0,0 +1,12 @@
CC = gcc
LIBS = -llibecrecover.so
LDPATH = -Ltarget/debug
%.o: %.c $(DEPS)
$(CC) -c -o $@ $<
test: src/test.c include/ecrecover.h target/debug/libecrecover.so
$(CC) -o $@ $^ $(CFLAGS) $(LDPATH)