summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b21f2e6..ae7e79c 100644
--- a/Makefile
+++ b/Makefile
@@ -43,7 +43,10 @@ runtime/libpthread.so: runtime src/libpthread.c
runtime/libandroid.so: private LDLIBS += `pkg-config --libs glfw3`
runtime/libandroid.so: runtime src/libandroid.c
runtime/liblog.so: runtime src/liblog.c
-native: runtime/libdl.so runtime/libc.so runtime/libpthread.so runtime/libandroid.so runtime/liblog.so
+runtime/libEGL.so: private CPPFLAGS += -D_GNU_SOURCE
+runtime/libEGL.so: private LDLIBS += -lEGL
+runtime/libEGL.so: runtime src/libEGL.c
+native: runtime/libdl.so runtime/libc.so runtime/libpthread.so runtime/libandroid.so runtime/liblog.so runtime/libEGL.so
jvm.a: private CPPFLAGS += -D_GNU_SOURCE
jvm.a: private CFLAGS += -Wno-unused-variable -Wno-pedantic