forked from s4y/space
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
31 lines (23 loc) · 1.14 KB
/
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
.PHONY: deps
deps: \
static-default/deps/three/build/three.module.js \
static-default/deps/three/examples/jsm/loaders/GLTFLoader.js \
static-default/deps/three/examples/jsm/utils/BufferGeometryUtils.js \
static-default/deps/three/examples/jsm/loaders/DRACOLoader.js \
static-default/deps/three/examples/jsm/controls/TransformControls.js \
static-default/deps/three/examples/jsm/libs/dat.gui.module.js \
static-management/deps/three/build/three.module.js \
static-management/deps/three/examples/jsm/loaders/GLTFLoader.js \
static-management/deps/three/examples/jsm/utils/BufferGeometryUtils.js \
static-management/deps/three/examples/jsm/loaders/DRACOLoader.js \
static-management/deps/three/examples/jsm/controls/TransformControls.js \
static-management/deps/three/examples/jsm/controls/OrbitControls.js \
static-management/deps/three/examples/jsm/libs/dat.gui.module.js
run: deps
cd server && go run ./main
static-default/deps/three/%:
mkdir -p "$(dir $@)"
curl -Lo $@ "https://github.com/mrdoob/three.js/raw/master/$*"
static-management/deps/three/%:
mkdir -p "$(dir $@)"
curl -Lo $@ "https://github.com/mrdoob/three.js/raw/master/$*"