Skip to content

Instantly share code, notes, and snippets.

@suryapratap1
Created December 5, 2018 10:38
Show Gist options
  • Save suryapratap1/2a843dd272fe74054ef53fe7d1944ebe to your computer and use it in GitHub Desktop.
Save suryapratap1/2a843dd272fe74054ef53fe7d1944ebe to your computer and use it in GitHub Desktop.
Makefile for an eosio smart contact
# Makefile for an eosio smart contact
CC=eosio-cpp
Contract=mw-coin
all:
@echo "Building"
# $(CC) $(Contract).cpp -o $(Contract).wasm --abigen
$(CC) $(Contract).cpp -o $(Contract).wasm
clean:
rm -f $(Contract).wast
# rm -f *.abi
rm -f $(Contract).wasm
deploy:
cleos set contract mistywest ../$(Contract) -p mistywest@active
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment