Skip to content

Commit

Permalink
use makefiles instead of scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
jmjatlanta committed Jun 24, 2022
1 parent b0660ab commit fa9bdd2
Show file tree
Hide file tree
Showing 9 changed files with 201 additions and 1,104 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ jobs:
sudo make install
sudo ldconfig
- name: Build dpow client "iguana"
run: cd iguana && ./m_notary_build
run: cd iguana && make
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
x64
*.o
*.a
agents/iguana.exe
Debug/*

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ General [Setup instructions](https://docs.komodoplatform.com/notary/setup-Komodo
`cd iguana`

#### Build iguana for notary operations
`./m_notary_build`
`make`

#### Start main-net notarizations:
`./m_notary_main`
Expand Down
35 changes: 35 additions & 0 deletions crypto777/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
CC=gcc
CFLAGS=-DLIQUIDITY_PROVIDER=1 -O2 -I/usr/lib/x86_64-linux-gnu/curl

all: jpeg/libjpeg.a libcrypto777.a

clean:
$(RM) *.o
$(RM) libcrypto777.a
$(MAKE) -C jpeg clean


%.o:%.c
$(CC) $(CFLAGS) -c -o $@ $^

libcrypto777.a: jpeg/libjpeg.a \
bitcoind_RPC.o \
cJSON.o \
curve25519-donna.o \
curve25519.o \
hmac_sha512.o \
iguana_OS.o \
iguana_serdes.o \
iguana_utils.o \
inet.o \
OS_nonportable.o \
OS_portable.o \
OS_time.o \
ramcoder.o \
SaM.o \
scrypt.o \
tweetnacl.o
$(AR) -r $@ $^

jpeg/libjpeg.a:
$(MAKE) -C jpeg all
Loading

0 comments on commit fa9bdd2

Please sign in to comment.