mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-09-29 14:50:44 +00:00
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>
32 lines
509 B
Makefile
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
|
|
|
|
|
|
|
|
|
|
|
|
|