Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Makefile - github.com/ClusterM/pebble-my-data.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 60e1ab049b99d9e65a3d9968d2fd481b6417be6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
compile: build/pebble-my-data.pbw

run: build/pebble-my-data.pbw
	pebble install --logs

install: build/pebble-my-data.pbw
	pebble install

clean:
	pebble clean
	rm -f src/js/pebble-js-app.js

build/pebble-my-data.pbw: src/js/pebble-js-app.js src/pebble-my-data.c appinfo.json
	pebble build

src/js/pebble-js-app.js: src/js/pebble-js-app.src.js resources/configuration.html
	perl -pe 'BEGIN { local $$/; open $$fh,pop @ARGV or die $$!; $$f = <$$fh>; $$f =~ s/\047/\\\047/g; $$f =~ s/\n//g; } s/_HTMLMARKER_/$$f/g;' $^ | uglifyjs > $@