Created
December 5, 2018 10:38
-
-
Save suryapratap1/2a843dd272fe74054ef53fe7d1944ebe to your computer and use it in GitHub Desktop.
Makefile for an eosio smart contact
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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