-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathMakefile
25 lines (19 loc) · 877 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
# SPDX-FileCopyrightText: 2020 TQ Tezos
# SPDX-License-Identifier: MIT
# Ligo executable
LIGO ?= ligo
# All files with `.ligo` extension are considered source files.
# Recompilation will be triggered only if they are changed.
sources = stablecoin/**/*.ligo
# Note: if you change the default target, please update `README.md`.
# Compile LIGO contract into its michelson representation
stablecoin.tz: $(sources)
$(LIGO) compile contract --syntax pascaligo stablecoin/core.ligo --output-file stablecoin.tz
stablecoin.fa1.2.tz: $(sources)
$(LIGO) compile contract --syntax pascaligo stablecoin/fa1.2/core.ligo --output-file stablecoin.fa1.2.tz
# Compile contract metadata LIGO contract into its michelson representation
metadata.tz: $(sources)
$(LIGO) compile contract --syntax pascaligo stablecoin/metadata.ligo --output-file metadata.tz
.PHONY: clean
clean:
rm -f *.tz