-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathMakefile
40 lines (35 loc) · 1004 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Set program names
CP = cp
MV = mv
ECHO = echo
NODE = node
NPM = sudo npm
MAKE = make
WWW_DIR = app/ios/www
# Make all
all: node-packages python-extension
# Install required node modules
# TODO: Probably should be local to avoid stepping on anyones toes.
node-packages:
$(NPM) install [email protected]
$(NPM) install [email protected]
$(NPM) install [email protected]
$(NPM) install [email protected]
$(NPM) install [email protected]
$(NPM) install [email protected]
$(NPM) install [email protected]
$(NPM) install [email protected]
$(NPM) install [email protected]
$(NPM) install [email protected]
$(NPM) install [email protected]
$(NPM) install [email protected]
$(NPM) install [email protected]
$(NPM) install [email protected]
$(NPM) install [email protected]
# Make python extension
python-extension:
$(MAKE) -C python all
# Convert jade templates html and copy needed files to phonegap
phonegap-www:
$(NODE) app/jjapp.js private/index.jade $(WWW_DIR)/index.html
$(CP) -r public/javascript/*.js public/css/*.css public/images $(WWW_DIR)