CRYPTO777 = agents/libcrypto777.a
IGUANA = agents/iguana
INSTANTDEX = agents/InstantDEX
PAX = agents/PAX
PRICES = agents/prices
PANGEA = agents/pangea
TRADEBOTS = agents/tradebots
SUPERNET = agents/SuperNET
DEPS =
CFLAGS = -Wall -Wno-deprecated -Wno-unused-function -fno-strict-aliasing
LIBS = ../agents/libcrypto777.a -lcurl -lssl -lcrypto -lpthread -lz -lm
CC = gcc
OS := $( shell uname -s)
i f e q ( $( OSNAME ) , L i n u x )
CFLAGS += -Wno-unused-but-set-variable
e n d i f
CFLAGS += -O2
all : $( CRYPTO 777) $( IGUANA ) $( TRADEBOTS ) $( SUPERNET ) # $(INSTANTDEX) $(PAX) $(PRICES) $(PANGEA)
$(CRYPTO777) : crypto 777/OS_portable .o crypto 777/OS_nonportable .c crypto 777/OS_portable .c crypto 777/OS_time .c crypto 777/iguana_OS .c crypto 777/OS_portable .h crypto 777/iguana_utils .c crypto 777/bitcoind_RPC .c crypto 777/cJSON .c crypto 777/curve 25519-donna .c crypto 777/curve 25519.c crypto 777/hmac_sha 512.c crypto 777/inet .c crypto 777/libgfshare .c crypto 777/ramcoder .c crypto 777/SaM .c crypto 777/jpeg /jaricom .c crypto 777/jpeg /jcapimin .c crypto 777/jpeg /jcapistd .c crypto 777/jpeg /jcarith .c crypto 777/jpeg /jccoefct .c crypto 777/jpeg /jccolor .c \
crypto777/jpeg/jcdctmgr.c crypto777/jpeg/jchuff.c crypto777/jpeg/jcinit.c crypto777/jpeg/jcmainct.c crypto777/jpeg/jcmarker.c crypto777/jpeg/jcmaster.c \
crypto777/jpeg/jcomapi.c crypto777/jpeg/jcparam.c crypto777/jpeg/jcprepct.c crypto777/jpeg/jcsample.c crypto777/jpeg/jctrans.c crypto777/jpeg/jdapimin.c \
crypto777/jpeg/jdapistd.c crypto777/jpeg/jdarith.c crypto777/jpeg/jdatadst.c crypto777/jpeg/jdatasrc.c crypto777/jpeg/jdcoefct.c crypto777/jpeg/jdcolor.c \
crypto777/jpeg/jddctmgr.c crypto777/jpeg/jdhuff.c crypto777/jpeg/jdinput.c crypto777/jpeg/jdmainct.c crypto777/jpeg/jdmarker.c crypto777/jpeg/jdmaster.c \
crypto777/jpeg/jdmerge.c crypto777/jpeg/jdpostct.c crypto777/jpeg/jdsample.c crypto777/jpeg/jdtrans.c crypto777/jpeg/jerror.c crypto777/jpeg/jfdctflt.c \
crypto777/jpeg/jfdctfst.c crypto777/jpeg/jfdctint.c crypto777/jpeg/jidctflt.c crypto777/jpeg/jidctfst.c crypto777/jpeg/jidctint.c crypto777/jpeg/jquant1.c \
crypto777/jpeg/jquant2.c crypto777/jpeg/jutils.c crypto777/jpeg/jmemmgr.c crypto777/jpeg/jmemnobs.c; \
cd crypto777; gcc -c -O2 *.c jpeg/jaricom.c jpeg/jcapimin.c jpeg/jcapistd.c jpeg/jcarith.c jpeg/jccoefct.c jpeg/jccolor.c \
jpeg/jcdctmgr.c jpeg/jchuff.c jpeg/jcinit.c jpeg/jcmainct.c jpeg/jcmarker.c jpeg/jcmaster.c \
jpeg/jcomapi.c jpeg/jcparam.c jpeg/jcprepct.c jpeg/jcsample.c jpeg/jctrans.c jpeg/jdapimin.c \
jpeg/jdapistd.c jpeg/jdarith.c jpeg/jdatadst.c jpeg/jdatasrc.c jpeg/jdcoefct.c jpeg/jdcolor.c \
jpeg/jddctmgr.c jpeg/jdhuff.c jpeg/jdinput.c jpeg/jdmainct.c jpeg/jdmarker.c jpeg/jdmaster.c \
jpeg/jdmerge.c jpeg/jdpostct.c jpeg/jdsample.c jpeg/jdtrans.c jpeg/jerror.c jpeg/jfdctflt.c \
jpeg/jfdctfst.c jpeg/jfdctint.c jpeg/jidctflt.c jpeg/jidctfst.c jpeg/jidctint.c jpeg/jquant1.c \
jpeg/jquant2.c jpeg/jutils.c jpeg/jmemmgr.c jpeg/jmemnobs.c; \
ar rcu ../agents/libcrypto777.a *.o jpeg/*.o; cd ..
$(IGUANA) : ;\
cd iguana; $( CC) -o ../agents/iguana *.c $( LIBS) ; make; cd ..
$(SUPERNET) : ;\
cd SuperNET; $( CC) -o ../agents/SuperNET *.c $( LIBS) ; make; cd ..
$(INSTANTDEX) : ;\
cd InstantDEX; $( CC) -o ../agents/InstantDEX *.c $( LIBS) ; make; cd ..
$(PANGEA) : ;\
cd pangea; $( CC) -o ../agents/pangea *.c $( LIBS) ; make; cd ..
$(TRADEBOTS) : ;\
cd tradebots; $( CC) -o ../agents/tradebots *.c $( LIBS) ; make; cd ..
$(PRICES) : ;\
cd pangea; $( CC) -o ../agents/pangea *.c $( LIBS) ; make; cd ..
$(PAX) : ;\
cd peggy; $( CC) -o ../agents/PAX *.c $( LIBS) ; make; cd ..
iguana : $( IGUANA )
SN : $( SuperNET )
idex : $( InstantDEX )
PAX : $( PAX )
prices : $( PRICES )
pangea : $( PANGEA )
lib : $( CRYPTO 777)
doesntexist :
clean : doesntexist ; \
rm agents/*; cd crypto777; rm *.o jpeg/*.o; make clean; cd ..; cd iguana; make clean; cd ..; cd SuperNET; make clean; cd ..; cd InstantDEX; make clean; cd ..; cd pangea; make clean; cd ..; cd prices; make clean; cd ..; cd tradebots; make clean; cd ..