summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/Makefile b/examples/Makefile
index 18a5d1f4..c3728b3b 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -541,6 +541,11 @@ physac/physics_restitution: physac/physics_restitution.c
# compile [physac] example - physics shatter
physac/physics_shatter: physac/physics_shatter.c
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDES) $(LFLAGS) $(LIBS) -static -lpthread -D$(PLATFORM) $(WINFLAGS)
+
+ifeq ($(PLATFORM),PLATFORM_ANDROID)
+external/native_app_glue.o : native_app_glue.c native_app_glue.h
+ $(CC) -c $< $(CFLAGS) $(INCLUDES) -D$(PLATFORM) -D$(SHAREDFLAG)
+endif
# fix dylib install path name for each executable (MAC)
fix_dylib: