Skip to content

Commit

Permalink
add Makefile for cross compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
gernest committed Feb 1, 2017
1 parent ea91d9e commit 802f9fe
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
VERSION=0.1.0
NAME=fconf_$(VERSION)

build:
gox \
-output "bin/{{.Dir}}/{{.OS}}_{{.Arch}}/{{.Dir}}_$(VERSION)/{{.Dir}}" \
-osarch "linux/arm" github.com/FarmRadioHangar/fastc

tar:
cd bin/ && tar -zcvf $(NAME).tar.gz fastc/

0 comments on commit 802f9fe

Please sign in to comment.