1 include @abs_top_srcdir@
/tools
/depends
/Makefile.
include
3 GLUEPATH
= $(NDKROOT
)/sources
/android
/native_app_glue
4 APP_GLUE
= android_native_app_glue.o
6 CPUPATH
= $(NDKROOT
)/sources
/android
/cpufeatures
7 CPU_OBJ
= cpu-features.o
9 INCLUDES
+= -I
$(GLUEPATH
) -I
$(CPUPATH
)
11 SRCS
= android_main.
cpp
12 SRCS
+= AndroidFeatures.
cpp
13 SRCS
+= AndroidKey.
cpp
14 SRCS
+= AndroidTouch.
cpp
15 SRCS
+= AndroidMouse.
cpp
16 SRCS
+= AndroidJoyStick.
cpp
17 SRCS
+= GraphicBuffer.
cpp
21 OBJS
+= $(APP_GLUE
) $(CPU_OBJ
)
28 $(CC
) -c
-I
$(GLUEPATH
) -o
$@
$(GLUEPATH
)/$(APP_GLUE
:.o
=.c
)
31 $(CC
) -c
-I
$(CPUPATH
) -o
$@
$(CPUPATH
)/$(CPU_OBJ
:.o
=.c
)
33 include @abs_top_srcdir@
/Makefile.
include
34 -include $(patsubst %.
cpp,%.P
,$(patsubst %.c
,%.P
,$(SRCS
)))