-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile
35 lines (28 loc) · 1.09 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
31
32
33
34
35
OPAOPT=--parser classic
all: build
run:
./main.exe #-d --display-logs --verbose 6
build: main.exe
publish:
OPAOPT="--publish-src-code $(OPAOPT)" make build
strip main.exe
tar -czf main.exe.tar.gz main.exe
rsync -vah --progress main.exe.tar.gz [email protected]:
main.exe:
cd plugins && make all && cd -
opa $(OPAOPT) \
src/common/fresh.opa src/common/sessionExt.opa src/common/observer.opa src/common/colorFloat.opa \
plugins/requestAnimationFramePlugin.opp src/requestAnimationFrame.opa \
plugins/webglPlugin.opp src/webgl/webgl.opa \
plugins/opps/webglUtilsPlugin.opp src/webglUtils/webglUtils.opa \
plugins/glMatrixPlugin.opp src/glMatrix/glMatrix.opa \
src/custom_shaders.opa \
src/engine/stack.opa src/engine/objects.opa src/engine/engine.opa \
src/modeler/modeler.opa src/modeler/sceneServer.opa src/modeler/guiModeler.opa \
src/pages/page_welcome.opa \
src/main.opa
mv src/main.exe main.exe
clean:
cd plugins && make clean
rm -rf _build _tracks \.mlstate main.exe src/main.exe *\.opx *\.opx.broken main.exe.tar.gz
.PHONY: all run build clean main.exe publish