diff --git a/.gitignore b/.gitignore index 4487d411..4ba86f97 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,8 @@ /bin/ +#ignore miner workspace +d + /src/**/ccerror.log /src/**/*.o diff --git a/bcon b/bcon new file mode 100755 index 00000000..8a2a71c3 Binary files /dev/null and b/bcon differ diff --git a/bup b/bup new file mode 100755 index 00000000..9e960d33 Binary files /dev/null and b/bup differ diff --git a/bval b/bval new file mode 100755 index 00000000..a307636c Binary files /dev/null and b/bval differ diff --git a/mochimo b/mochimo new file mode 100755 index 00000000..b3a99582 Binary files /dev/null and b/mochimo differ diff --git a/neogen b/neogen new file mode 100755 index 00000000..cd9dd0ba Binary files /dev/null and b/neogen differ diff --git a/sortlt b/sortlt new file mode 100755 index 00000000..6a5e991f Binary files /dev/null and b/sortlt differ diff --git a/src/Makefile b/src/Makefile index 7572d4d5..10afb336 100644 --- a/src/Makefile +++ b/src/Makefile @@ -9,6 +9,7 @@ NVCC=nvcc -DLONG64 --generate-code arch="compute_37,code=\"sm_37,compute_37\"" LDFLAGS=-lcudart -lcuda -lstdc++ EXEC=mochimo bval bcon bup sortlt neogen txclean wallet SOURCE_FOLDER=./ +BIN_FOLDER=../ OBJ_FOLDER=obj/Debug all: $(EXEC) @@ -30,28 +31,28 @@ trigg.o: $(SOURCE_FOLDER)trigg/trigg.c $(CC) -g -c $(SOURCE_FOLDER)trigg/trigg.c -o $(SOURCE_FOLDER)trigg/trigg.o $(LDFLAGS) mochimo: wots.o cuda_trigg.o trigg.o sha256.o - $(CC) -g -o mochimo $(SOURCE_FOLDER)mochimo.c $(SOURCE_FOLDER)trigg/trigg.o $(SOURCE_FOLDER)trigg/cuda_trigg.o $(SOURCE_FOLDER)crypto/wots/wots.o $(SOURCE_FOLDER)crypto/sha256.o $(LDFLAGS) + $(CC) -g -o $(BIN_FOLDER)mochimo $(SOURCE_FOLDER)mochimo.c $(SOURCE_FOLDER)trigg/trigg.o $(SOURCE_FOLDER)trigg/cuda_trigg.o $(SOURCE_FOLDER)crypto/wots/wots.o $(SOURCE_FOLDER)crypto/sha256.o $(LDFLAGS) wallet: wots.o sha256.o - $(CC) -g -o wallet $(SOURCE_FOLDER)wallet.c $(SOURCE_FOLDER)crypto/wots/wots.o $(SOURCE_FOLDER)crypto/sha256.o $(LDFLAGS) + $(CC) -g -o $(BIN_FOLDER)wallet $(SOURCE_FOLDER)wallet.c $(SOURCE_FOLDER)crypto/wots/wots.o $(SOURCE_FOLDER)crypto/sha256.o $(LDFLAGS) bval: wots.o trigg.o sha256.o - $(CC) -g -o bval $(SOURCE_FOLDER)bval.c $(SOURCE_FOLDER)trigg/trigg.o $(SOURCE_FOLDER)crypto/wots/wots.o $(SOURCE_FOLDER)crypto/sha256.o $(LDFLAGS) + $(CC) -g -o $(BIN_FOLDER)bval $(SOURCE_FOLDER)bval.c $(SOURCE_FOLDER)trigg/trigg.o $(SOURCE_FOLDER)crypto/wots/wots.o $(SOURCE_FOLDER)crypto/sha256.o $(LDFLAGS) bcon: sha256.o - $(CC) -g -o bcon $(SOURCE_FOLDER)bcon.c $(SOURCE_FOLDER)crypto/sha256.o $(LDFLAGS) + $(CC) -g -o $(BIN_FOLDER)bcon $(SOURCE_FOLDER)bcon.c $(SOURCE_FOLDER)crypto/sha256.o $(LDFLAGS) bup: sha256.o - $(CC) -g -o bup $(SOURCE_FOLDER)bup.c $(SOURCE_FOLDER)crypto/sha256.o $(LDFLAGS) + $(CC) -g -o $(BIN_FOLDER)bup $(SOURCE_FOLDER)bup.c $(SOURCE_FOLDER)crypto/sha256.o $(LDFLAGS) sortlt: sha256.o - $(CC) -g -o sortlt $(SOURCE_FOLDER)sortlt.c $(SOURCE_FOLDER)crypto/sha256.o $(LDFLAGS) + $(CC) -g -o $(BIN_FOLDER)sortlt $(SOURCE_FOLDER)sortlt.c $(SOURCE_FOLDER)crypto/sha256.o $(LDFLAGS) neogen: sha256.o - $(CC) -g -o neogen $(SOURCE_FOLDER)neogen.c $(SOURCE_FOLDER)crypto/sha256.o $(LDFLAGS) + $(CC) -g -o $(BIN_FOLDER)neogen $(SOURCE_FOLDER)neogen.c $(SOURCE_FOLDER)crypto/sha256.o $(LDFLAGS) txclean: sha256.o - $(CC) -g -o txclean $(SOURCE_FOLDER)txclean.c $(SOURCE_FOLDER)crypto/sha256.o $(LDFLAGS) + $(CC) -g -o $(BIN_FOLDER)txclean $(SOURCE_FOLDER)txclean.c $(SOURCE_FOLDER)crypto/sha256.o $(LDFLAGS) clean: diff --git a/txclean b/txclean new file mode 100755 index 00000000..3fc6d6d2 Binary files /dev/null and b/txclean differ diff --git a/wallet b/wallet new file mode 100755 index 00000000..d09b4f70 Binary files /dev/null and b/wallet differ