Make prices

This commit is contained in:
jl777
2019-03-26 22:32:25 -11:00
parent 3640e3c4fc
commit 36fe43ff58
2 changed files with 5 additions and 2 deletions

View File

@@ -16,7 +16,7 @@
#include "gamescc.h"
#ifdef BUILD_PRICES
#include "prices.c"
#elif
#else
#include "tetris.c"
#endif
@@ -167,7 +167,7 @@ int32_t games_replay2(uint8_t *newdata,uint64_t seed,gamesevent *keystrokes,int3
#ifndef STANDALONE
#ifdef BUILD_PRICES
#include "prices.cpp"
#elif
#else
#include "tetris.cpp"
#endif

3
src/cc/makeprices Executable file
View File

@@ -0,0 +1,3 @@
gcc -O3 -DBUILD_GAMESCC -DBUILD_PRICES -std=c++11 -I../secp256k1/include -I../univalue/include -I../cryptoconditions/include -I../cryptoconditions/src -I../cryptoconditions/src/asn -I.. -I. -fPIC -shared -c -o pricescc.so cclib.cpp
gcc -O3 -std=c++11 -I../secp256k1/include -I../univalue/include -I../cryptoconditions/include -I../cryptoconditions/src -I../cryptoconditions/src/asn -I.. -I. -DSTANDALONE -DBUILD_PRICES gamescc.cpp -lncurses -lcurl -o tetris