diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2018-12-10 09:06:26 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2018-12-10 17:32:34 +0800 |
commit | 08c1906ecf95ea18663593df94aadec538dbb715 (patch) | |
tree | 6e81840d080ae8635ae42ee8dff7445f2edf17c4 | |
parent | a12b591baf15ca71f868fe68eb5f15830e93247a (diff) | |
download | dexon-bls-08c1906ecf95ea18663593df94aadec538dbb715.tar.gz dexon-bls-08c1906ecf95ea18663593df94aadec538dbb715.tar.zst dexon-bls-08c1906ecf95ea18663593df94aadec538dbb715.zip |
fix include path
-rw-r--r-- | Makefile | 2 | ||||
-rwxr-xr-x | setvar.bat | 2 | ||||
-rw-r--r-- | src/bls_c_impl.hpp | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -10,7 +10,7 @@ SRC_SRC=bls_c256.cpp bls_c384.cpp bls_c384_256.cpp TEST_SRC=bls256_test.cpp bls384_test.cpp bls384_256_test.cpp bls_c256_test.cpp bls_c384_test.cpp bls_c384_256_test.cpp SAMPLE_SRC=bls256_smpl.cpp bls384_smpl.cpp -CFLAGS+=-I$(MCL_DIR)/include -I./ +CFLAGS+=-I$(MCL_DIR)/include -I./ -I$(MCL_DIR)/src ifneq ($(MCL_MAX_BIT_SIZE),) CFLAGS+=-DMCL_MAX_BIT_SIZE=$(MCL_MAX_BIT_SIZE) endif @@ -1,6 +1,6 @@ @echo off call ..\mcl\setvar.bat -set CFLAGS=%CFLAGS% /I ..\mcl\include /I .\ +set CFLAGS=%CFLAGS% /I ..\mcl\include /I .\ /I../mcl/src set LDFLAGS=%LDFLAGS% /LIBPATH:..\mcl\lib echo CFLAGS=%CFLAGS% echo LDFLAGS=%LDFLAGS%
\ No newline at end of file diff --git a/src/bls_c_impl.hpp b/src/bls_c_impl.hpp index 91ecad8..dc4c998 100644 --- a/src/bls_c_impl.hpp +++ b/src/bls_c_impl.hpp @@ -4,7 +4,7 @@ #include <bls/bls.h> #if 1 -#include "../mcl/src/bn_c_impl.hpp" +#include "bn_c_impl.hpp" #else #if MCLBN_FP_UNIT_SIZE == 4 && MCLBN_FR_UNIT_SIZE == 4 #include <mcl/bn256.hpp> |