Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mancausoft committed Jan 11, 2025
1 parent ce5481f commit 87f2ccc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build-rpi3-raylib-static.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ jobs:
uses: actions/cache@v3
with:
path: ./sysroot
key: sysroot-buster-${{ runner.os }}-${{ hashFiles('build-rpi3-raylib-static.yaml') }}
restore-keys: |
sysroot-buster-${{ runner.os }}-
key: sysroot-buster

- name: Create sysroot for Raspbian Buster
if: steps.cache-sysroot.outputs.cache-hit != 'true'
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
CC ?= arm-linux-gnueabihf-gcc
CFLAGS ?= -O2 -Wall
LDFLAGS ?=
SYSROOT ?= ./sysroot
SYSROOT ?= ../sysroot
TARGET ?= snake_animation

# Percorsi
INCLUDES ?= -I$(SYSROOT)/usr/include
LIBS ?= -L$(SYSROOT)/usr/lib -L$(SYSROOT)/lib -l:raylib.a -ldrm -lgbm -lasound -lpthread -lm
INCLUDES ?= -I$(SYSROOT)/usr/include -I ../raylib/src/
LIBS ?= -L$(SYSROOT)/usr/lib -L$(SYSROOT)/lib -lraylib -lGL -lm -ldrm -lgbm -lEGL -L ../raylib/src/ -o snake

# Regole
all: $(TARGET)
Expand Down

0 comments on commit 87f2ccc

Please sign in to comment.