Create src/ directory and move source files in

This commit is contained in:
Ben Edgington 2021-02-02 11:42:56 +00:00
parent 7de3c29ab6
commit 8de064215a
8 changed files with 5 additions and 4 deletions

View File

@ -26,6 +26,7 @@ There's no library to make here yet, but you can run the tests.
## Run tests
```
cd src
make test
```

View File

@ -6,7 +6,7 @@ tests = fft_fr_test
clang -Wall -c $*.c
%_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)

View File

@ -14,5 +14,5 @@
* limitations under the License.
*/
#include "inc/blst.h"
#include <stdbool.h>
#include "../inc/blst.h"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
#include "inc/acutest.h"
#include "../inc/acutest.h"
#include "test_util.h"
#include "fft_fr.h"

View File

@ -16,7 +16,7 @@
#include <stdlib.h>
#include <stdio.h>
#include "inc/blst.h"
#include "../inc/blst.h"
// General Utilities
void print_bytes_as_hex(byte *bytes, int start, int len);