This commit is contained in:
jl777
2019-02-02 04:20:13 -11:00
parent fac2456a5d
commit a3e938ac02
2 changed files with 4 additions and 4 deletions

View File

@@ -403,7 +403,7 @@ std::string CClib_rawtxgen(struct CCcontract_info *cp,uint8_t funcid,cJSON *para
}
#ifdef BUILD_ROGUE
#include "rogue/vers.c"
/*#include "rogue/vers.c"
#include "rogue/extern.c"
#include "rogue/armor.c"
#include "rogue/chase.c"
@@ -435,7 +435,7 @@ std::string CClib_rawtxgen(struct CCcontract_info *cp,uint8_t funcid,cJSON *para
#include "rogue/things.c"
#include "rogue/weapons.c"
#include "rogue/wizard.c"
#include "rogue/xcrypt.c"
#include "rogue/xcrypt.c"*/
#else
#include "sudoku.cpp"

View File

@@ -1,7 +1,7 @@
cd rogue;
./configure # only need this first time
#./configure # only need this first time
make; cd ..
gcc -DBUILD_ROGUE -std=c++11 -I../univalue/include -I../cryptoconditions/include -I../cryptoconditions/src -I../cryptoconditions/src/asn -I.. -I. -fPIC -shared -o librogue.so -c cclib.cpp
#gcc -std=c++11 -fPIC -shared -o librogue.so cclib.o rogue/rogue.so
gcc -std=c++11 -fPIC -shared -o librogue.so cclib.o rogue/rogue.o
cp librogue.so ../libcc.so