comparison Makefile @ 2685:da2e06c42d16

Add a compile-time flag to use RGB565 instead of ABGR/ARGB
author Michael Pavone <pavone@retrodev.com>
date Sun, 30 Mar 2025 00:06:53 -0700
parents 99297d5f4c5d
children b42f00a3a937
comparison
equal deleted inserted replaced
2684:c649bcc18487 2685:da2e06c42d16
63 else 63 else
64 SO:=so 64 SO:=so
65 65
66 ifeq ($(CPU),wasm) 66 ifeq ($(CPU),wasm)
67 USE_GLES:=1 67 USE_GLES:=1
68 endif
69
70 ifdef USE_RGB565
71 CFLAGS+= -DUSE_RGB565
68 endif 72 endif
69 73
70 ifdef USE_FBDEV 74 ifdef USE_FBDEV
71 LIBS=alsa 75 LIBS=alsa
72 ifndef NOGL 76 ifndef NOGL