mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
17 lines
270 B
Makefile
17 lines
270 B
Makefile
.POSIX:
|
|
|
|
SRC = $(shell find src -type f)
|
|
|
|
# Cargo binary
|
|
CARGO = cargo
|
|
|
|
DEPS = smart_contract.wasm
|
|
|
|
all: $(DEPS)
|
|
|
|
smart_contract.wasm: $(SRC)
|
|
$(CARGO) build --release --lib --target wasm32-unknown-unknown
|
|
cp -f target/wasm32-unknown-unknown/release/$@ $@
|
|
|
|
.PHONY: all
|