Created
November 6, 2014 05:06
-
-
Save johndagostino/00995700ec14d33316d1 to your computer and use it in GitHub Desktop.
gof3r makefile
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
NAME=gof3r | |
VERSION=1.0 | |
all: build | |
build: | |
go build | |
clean: | |
rm $(NAME)_$(VERSION)_amd64.deb | |
rm gof3r | |
build_linux: | |
@GOOS=linux GOARCH=amd64 go build | |
package_deb: | |
fpm -s dir -t deb -n gof3r gof3r=/usr/bin/gof3r | |
package: clean build_linux package_deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment