Skip to content

Commit

Permalink
added Makefile for X9 & X7
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelcoeffic committed Feb 7, 2017
1 parent 6059c76 commit 39c00e4
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

tmp_dirs = \
tmp/SCRIPTS/BF \
tmp/SCRIPTS/TELEMETRY

$(tmp_dirs):
mkdir -p $(tmp_dirs)

VERSION = `git describe --tags --long`

.PHONY: tmp_install
tmp_install: $(tmp_dirs)
cp common/*.lua tmp/SCRIPTS/BF

.PHONY: all
all: X7 X9

.PHONY: X7
X7: tmp_install
cp X7.lua tmp/SCRIPTS/TELEMETRY/BF.lua
cd tmp && zip ../BFSetup-X7-$(VERSION).zip SCRIPTS/BF/* SCRIPTS/TELEMETRY/*

.PHONY: X9
X9: tmp_install
cp X9.lua tmp/SCRIPTS/TELEMETRY/BF.lua
cd tmp && zip ../BFSetup-X9-$(VERSION).zip SCRIPTS/BF/* SCRIPTS/TELEMETRY/*

0 comments on commit 39c00e4

Please sign in to comment.