Add simpler CC_BUILD_RPI define, add compiled icon obj file for arm architecture

This commit is contained in:
UnknownShadow200 2020-01-22 22:24:37 +11:00
parent 69ed38fdf9
commit b923754c86
3 changed files with 6 additions and 1 deletions

BIN
misc/CCicon_rpi Normal file

Binary file not shown.

View File

@ -66,7 +66,7 @@ Install appropriate libs as required. For ubuntu these are: libx11-dev, libgl1-m
##### Raspberry pi ##### Raspberry pi
Although the regular linux compiliation flags will work fine, to take full advantage of the hardware: Although the regular linux compiliation flags will work fine, to take full advantage of the hardware:
```gcc *.c -o ClassiCube -DCC_BUILD_GLMODERN -DCC_BUILD_GLES -DCC_BUILD_EGL -lm -lpthread -lX11 -lEGL -lGLESv2 -lcurl -lopenal -ldl``` ```gcc *.c -o ClassiCube -DCC_BUILD_RPI -lm -lpthread -lX11 -lEGL -lGLESv2 -lcurl -lopenal -ldl```
#### Mac OSX (32 bit) #### Mac OSX (32 bit)

View File

@ -164,6 +164,11 @@ typedef struct TextureRec_ { float U1, V1, U2, V2; } TextureRec;
#define CC_BUILD_X11 #define CC_BUILD_X11
#define CC_BUILD_CURL #define CC_BUILD_CURL
#define CC_BUILD_OPENAL #define CC_BUILD_OPENAL
#if defined CC_BUILD_RPI
#define CC_BUILD_GLMODERN
#define CC_BUILD_GLES
#define CC_BUILD_EGL
#endif
#elif defined __APPLE__ #elif defined __APPLE__
#define CC_BUILD_OSX #define CC_BUILD_OSX
#define CC_BUILD_POSIX #define CC_BUILD_POSIX