Okay here's the deal!
The NativeActivity example that comes with the NDK - awesome! Now I can build an app without dealing with Java.
What I'd like to know is a simple thing, but alas I am still noobing my way around Linux distros, to be honest.
How do I take this makefile, for a single C file, which links to GLES, and turn it into a makefile for n * .cpp and .h files?
all: libcube.so libcube.so: cube.o $(CC) -o libcube.so cube.o -shared -lEGL -lGLESv1_CM -lm clean: rm libcube.so cube.o
The thing that's got me stuck is the lack of a mention of the NativeActivity.c file
For example, I just wanna stick a bunch of stuff from that C file into a header file for now!
Any help would be greatly appreciated!
Oooh by the by, just to really make you screwface, this makefile came from an example that came with the C4Droid App (Though I've seen it in the NDK) - If I have to compile on C4droid then so be it.. in fact, I'd prefer it - the app that creates apps, I mean, how awesome is that?