foo
authorJohn Tsiombikas <nuclear@member.fsf.org>
Mon, 27 Dec 2021 16:59:42 +0000 (18:59 +0200)
committerJohn Tsiombikas <nuclear@member.fsf.org>
Mon, 27 Dec 2021 16:59:42 +0000 (18:59 +0200)
Makefile
Makefile.android
src/demosys.c
src/scr/testa.c
src/scr/testb.c [new file with mode: 0644]

index 12024ae..e133269 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-src = $(wildcard src/*.c) $(wildcard src/pc/*.c) libs/glew/glew.c
+src = $(wildcard src/*.c) $(wildcard src/scr/*.c) $(wildcard src/pc/*.c) libs/glew/glew.c
 obj = $(src:.c=.o)
 dep = $(src:.c=.d)
 bin = demo
index 336d7c9..d613b47 100644 (file)
@@ -6,7 +6,7 @@ PLATFORM_JAR = $(SDK)/platforms/android-23/android.jar
 TCPATH = $(NDK)/toolchains/llvm/prebuilt/linux-$(shell uname -m)/bin
 TC = $(TCPATH)/aarch64-linux-android23-
 
-src = $(wildcard src/*.c) $(wildcard src/android/*.c)
+src = $(wildcard src/*.c) $(wildcard src/scr/*.c) $(wildcard src/android/*.c)
 obj = $(src:.c=.arm64.o)
 dep = $(src:.c=.d)
 name = andemo
index 66b4f5f..7cefce5 100644 (file)
@@ -1,3 +1,5 @@
+#include <stdio.h>
+#include <string.h>
 #include "demosys.h"
 
 static struct demoscreen *act_tail;
index 35e95d9..876ea51 100644 (file)
@@ -1,3 +1,6 @@
 #include "demosys.h"
 #include "opengl.h"
 
+void regscr_testa(void)
+{
+}
diff --git a/src/scr/testb.c b/src/scr/testb.c
new file mode 100644 (file)
index 0000000..b65de8a
--- /dev/null
@@ -0,0 +1,6 @@
+#include "demosys.h"
+#include "opengl.h"
+
+void regscr_testb(void)
+{
+}