jiboync begining s & some work on bootsplash

This commit is contained in:
2026-08-01 19:18:00 +03:00
parent 5a18c2fe30
commit d265aa80d6
3 changed files with 56 additions and 1 deletions
+20
View File
@@ -0,0 +1,20 @@
# Cross compiler prefix
CROSS_COMPILE ?= arm-none-linux-gnueabihf-
CC := $(CROSS_COMPILE)gcc
# Fallback CFLAGS and LIBS if pkg-config cross-wrapper is missing
CFLAGS := -Wall -Wextra -O3
LIBS := -lSDL2 -lSDL2_image
TARGET := viewer_tegra
SRC := main.c
.PHONY: all clean
all: $(TARGET)
$(TARGET): $(SRC)
$(CC) $(CFLAGS) $< -o $@ $(LIBS)
clean:
rm -f $(TARGET)