diff options
| author | Ray <[email protected]> | 2017-05-11 16:45:49 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2017-05-11 16:45:49 +0200 |
| commit | 518bdfc134bfa00426f22abd574831f7ec51924a (patch) | |
| tree | 7a08f817e87bdbe4ff0a52a81542b3d7206ebdd5 /examples/Makefile | |
| parent | 35fe34ba0f4a8de97e0854a64c52eca88bab98cf (diff) | |
| download | raylib-518bdfc134bfa00426f22abd574831f7ec51924a.tar.gz raylib-518bdfc134bfa00426f22abd574831f7ec51924a.zip | |
Some work on Android build
Diffstat (limited to 'examples/Makefile')
| -rw-r--r-- | examples/Makefile | 5 |
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: |
