mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-10 16:03:15 -04:00
Add simpler CC_BUILD_RPI define, add compiled icon obj file for arm architecture
This commit is contained in:
parent
69ed38fdf9
commit
b923754c86
BIN
misc/CCicon_rpi
Normal file
BIN
misc/CCicon_rpi
Normal file
Binary file not shown.
@ -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)
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user