pool/stratum/sha3/makefile
Tanguy Pruvot a24bf3dd3c stratum: allow to use curl (optional) for HTTP/1.1 chunks
Todo: SSL RPC connections... user/pw vars may be required...

Also, update the make files and handle better the getwork client requests..

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2016-02-04 04:23:06 +01:00

32 lines
509 B
Makefile

CC=gcc
CFLAGS= -O3 -march=native
LDFLAGS=-O2
SOURCES=sph_jh.c sph_blake.c sph_bmw.c sph_groestl.c sph_skein.c sph_keccak.c sph_luffa.c sph_cubehash.c sph_shavite.c \
sph_simd.c sph_echo.c sph_fugue.c sph_hamsi.c sph_shabal.c sph_whirlpool.c \
sph_haval.c sph_ripemd.c sph_sha2.c sph_sha2big.c sph_tiger.c
OBJECTS=$(SOURCES:.c=.o)
OUTPUT=libhash.a
all: $(SOURCES) $(OUTPUT)
$(OUTPUT): $(OBJECTS)
ar rc $@ $(OBJECTS)
.cpp.o:
$(CC) $(CFLAGS) -c $<
.c.o:
$(CC) $(CFLAGS) -c $<
clean:
rm *.o