-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
46 lines (36 loc) · 1.08 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
36
37
38
39
40
41
42
43
44
45
46
all: check
"$(CB_SDK)/usr/bin/swig" -as3 -module libtess2 -outdir . -includeall -ignoremissing -o libtess2_wrapper.c libtess2.i
$(AS3COMPILERARGS)\
-abcfuture\
-AS3\
-import $(call nativepath,$(CB_SDK)/usr/lib/builtin.abc)\
-import $(call nativepath,$(CB_SDK)/usr/lib/playerglobal.abc)\
libtess2.as
mv libtess2.abc olibtess2.abc
$(AS3COMPILERARGS)\
-abcfuture\
-AS3\
-import $(call nativepath,$(CB_SDK)/usr/lib/builtin.abc)\
-import $(call nativepath,$(CB_SDK)/usr/lib/playerglobal.abc)\
libtess2_wrapper.as
mv libtess2_wrapper.abc olibtess2_wrapper.abc
"$(CB_SDK)/usr/bin/gcc" $(BASE_CFLAGS)\
olibtess2.abc\
olibtess2_wrapper.abc\
libtess2_wrapper.c\
libtess2/Source/bucketalloc.c\
libtess2/Source/dict.c\
libtess2/Source/geom.c\
libtess2/Source/mesh.c\
libtess2/Source/priorityq.c\
libtess2/Source/sweep.c\
libtess2/Source/tess.c\
libtess2.c\
libtess2_main.c\
-emit-swc=com.codeazur.libtess2.lib\
-o libtess2.swc\
-I./libtess2/Include
mv libtess2.swc bin
include ./Makefile.common
clean:
rm -f *_wrapper.c *.swf *.swc *.abc libtess2.as