mirror of
https://github.com/status-im/c-kzg-4844.git
synced 2025-02-17 04:27:08 +00:00
Create src/ directory and move source files in
This commit is contained in:
parent
7de3c29ab6
commit
8de064215a
@ -26,6 +26,7 @@ There's no library to make here yet, but you can run the tests.
|
|||||||
## Run tests
|
## Run tests
|
||||||
|
|
||||||
```
|
```
|
||||||
|
cd src
|
||||||
make test
|
make test
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ tests = fft_fr_test
|
|||||||
clang -Wall -c $*.c
|
clang -Wall -c $*.c
|
||||||
|
|
||||||
%_test: %.o %_test.c test_util.o
|
%_test: %.o %_test.c test_util.o
|
||||||
clang -Wall -o $@ $@.c test_util.o $*.o -Llib -lblst
|
clang -Wall -o $@ $@.c test_util.o $*.o -L../lib -lblst
|
||||||
./$@
|
./$@
|
||||||
|
|
||||||
test: $(tests)
|
test: $(tests)
|
@ -14,5 +14,5 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "inc/blst.h"
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
#include "../inc/blst.h"
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "inc/acutest.h"
|
#include "../inc/acutest.h"
|
||||||
#include "test_util.h"
|
#include "test_util.h"
|
||||||
#include "fft_fr.h"
|
#include "fft_fr.h"
|
||||||
|
|
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "inc/blst.h"
|
#include "../inc/blst.h"
|
||||||
|
|
||||||
// General Utilities
|
// General Utilities
|
||||||
void print_bytes_as_hex(byte *bytes, int start, int len);
|
void print_bytes_as_hex(byte *bytes, int start, int len);
|
Loading…
x
Reference in New Issue
Block a user