Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 702 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 702 Bytes

Golang Makefile Example

Getting started

// get project files
git clone git clone https://github.com/verybluebot/golang_makefile.git

Then cd into project root directory and use make utility to build the binary:

make all

Now you can go on and create your own program using this as a template!

Or you can get only the makefile and copy it to your project:

// using wget:
wget https://raw.githubusercontent.com/verybluebot/golang_makefile/master/makefile

// using curl:
curl -O https://raw.githubusercontent.com/verybluebot/golang_makefile/master/makefile

Just dont forget to change the EXENAME varaible in the makefile to whatever name you called your main package