-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
31 lines (20 loc) · 874 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
SOLC_ABI=solc --abi --output-dir ./abi --overwrite --optimize-runs $(OPTIMIZATION)
SOLC_BIN=solc --bin --output-dir ./bin --overwrite --optimize-runs $(OPTIMIZATION)
SOLC5_ABI=solc5 --abi --output-dir ./abi --overwrite --optimize-runs $(OPTIMIZATION)
SOLC5_BIN=solc5 --bin --output-dir ./bin --overwrite --optimize-runs $(OPTIMIZATION)
OPTIMIZATION=2000
all: proxy chi aave bzx dydx runner
clean:
rm -r ./bin && rm -r ./abi
proxy:
$(SOLC_ABI) ./TransactionProxy.sol && $(SOLC_BIN) ./TransactionProxy.sol
chi:
$(SOLC_ABI) ./ChiToken.sol && $(SOLC_BIN) ./ChiToken.sol
aave:
$(SOLC_ABI) ./aaveFlashLoan.sol && $(SOLC_BIN) ./aaveFlashLoan.sol
bzx:
$(SOLC_ABI) ./bZxFlashLoan.sol && $(SOLC_BIN) ./bZxFlashLoan.sol
dydx:
$(SOLC_ABI) ./dydxFlashLoan.sol && $(SOLC_BIN) ./dydxFlashLoan.sol
runner:
$(SOLC_ABI) ./ScriptRunner.sol && $(SOLC_BIN) ./ScriptRunner.sol