Created
October 7, 2018 21:20
-
-
Save cc32d9/21abddd66ee4020fe5d2c1ed660871fa to your computer and use it in GitHub Desktop.
Makefile for eosio CDT
This file contains 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
CONTRACT=mycontract | |
all: $(CONTRACT).wasm $(CONTRACT).abi | |
%.wasm: %.cpp | |
eosio-cpp -o $@ $< | |
%.abi: %.cpp | |
eosio-abigen --output=$@ $< | |
clean: | |
rm -f $(CONTRACT).abi $(CONTRACT).wasm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment