summary refs log tree commit diff
path: root/ntcoin
diff options
context:
space:
mode:
author~login@aussies.space2019-11-14 09:56:13 +1100
committer~login@aussies.space2019-11-14 09:56:13 +1100
commit595b9d40788feff26f4141e6e88386960438df28 (patch)
tree46012d7bcbeb7b29a24195b52833f7b29fcf79d5 /ntcoin
parent4f07e446befb30733a21dd42ea5eaa9d1a35f40f (diff)
Creates separate definition files for tcoin.cpp and pcoin.cpp
I realised that different tilde servers will have different definitions but the same code otherwise, and 'git push' and 'git pull' to update the code on other servers would override those definitions.

Thus, the tcoin.cpp and pcoin.cpp files now look the same for all tildeservers and have a #include "tcoin_defs.cpp" and #include "pcoin_defs.cpp" respectively. The configuration, which is in the form of #define symbolic constants, is stored in tcoin/bin/tcoin_defs.cpp and tcoin/bin/pcoin_defs.cpp. ntcoin is modified to create these two files with the right definitions. ntcoin is also modified so that compile_tcoin and compile_pcoin now include the -I option, which instructs the compiler to look for includes in additional directories, in this case, tcoin/bin .
Diffstat (limited to 'ntcoin')
-rwxr-xr-xntcoin0
1 files changed, 0 insertions, 0 deletions
diff --git a/ntcoin b/ntcoin
index f0522e3..117a484 100755
--- a/ntcoin
+++ b/ntcoin