Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMakefile
More file actions
Latest commit
32 lines (28 loc) · 805 Bytes
/
Copy pathMakefile
File metadata and controls
32 lines (28 loc) · 805 Bytes
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
exportHOST:=arm-none-linux-gnueabi
exportCPP:="$(HOST)-gcc -E"
exportSTRIP:="$(HOST)-strip"
exportOBJCOPY:="$(HOST)-objcopy"
exportAR:="$(HOST)-ar"
exportRANLIB:="$(HOST)-ranlib"
exportLD:="$(HOST)-ld"
exportOBJDUMP:="$(HOST)-objdump"
exportCC:="$(HOST)-gcc"
exportCXX:="$(HOST)-g++"
exportNM:="$(HOST)-nm"
exportAS:="$(HOST)-as"
exportnode_config_arch:=arm
exportnode_config_nodedir:="../node/"
all:
cd page; bower --allow-root install;
npm install --target_arch=arm
test:
npm test
clean:
rm -rf build
rm -rf node_modules
rm -rf page/bower_components
format: clean
find . -name "*.cc" -exec astyle -n {} \;
find . -name "*.js" -exec js-beautify -r {} \;
find . -name "*.html" -exec html-beautify -r {} \;
find . -name "*.css" -exec css-beautify -r {} \;