Jelajahi Sumber

Trying to configure android_native_app_glue target compilation

raysan5 5 tahun lalu
induk
melakukan
44dd1fc7f5
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      src/Makefile

+ 2 - 2
src/Makefile

@@ -464,7 +464,7 @@ ifeq ($(RAYLIB_MODULE_PHYSAC),TRUE)
 endif
 
 ifeq ($(PLATFORM),PLATFORM_ANDROID)
-    OBJS += $(NATIVE_APP_GLUE)/android_native_app_glue.o
+    OBJS += android_native_app_glue.o
 endif
 
 # Default target entry
@@ -583,7 +583,7 @@ physac.o : physac.c physac.h
 	$(CC) -c $< $(CFLAGS) $(INCLUDE_PATHS) -D$(PLATFORM) -DPHYSAC_IMPLEMENTATION
 
 # Compile android_native_app_glue module
-$(NATIVE_APP_GLUE)/android_native_app_glue.o : android_native_app_glue.c
+android_native_app_glue.o : $(NATIVE_APP_GLUE)/android_native_app_glue.c
 	$(CC) -c $< $(CFLAGS) $(INCLUDE_PATHS)