From cb63622f84fb5f2cbba40d9897b17938ee1870b5 Mon Sep 17 00:00:00 2001 From: igor Date: Mon, 2 Mar 2026 15:01:12 -0800 Subject: [PATCH] Point to RayLib. --- Makefile | 4 ++-- main.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index e5bec01..3618a0b 100644 --- a/Makefile +++ b/Makefile @@ -23,8 +23,8 @@ ifeq ($(DETECTED_OS),macos) LIBS = $(shell pkg-config --libs raylib) FRAMEWORKS = -framework IOKit -framework Cocoa -framework OpenGL else ifeq ($(DETECTED_OS),linux) - INCLUDE = -I./third_party/raylib/src/ - LIBS = ./third_party/raylib/src/libraylib.a -lm + INCLUDE = -I./raylib/include/ + LIBS = ./raylib/lib/x86_64-linux/libraylib.a -lm -lX11 FRAMEWORKS = else ifeq ($(DETECTED_OS),windows) INCLUDE = diff --git a/main.c b/main.c index d48656a..84adc72 100644 --- a/main.c +++ b/main.c @@ -21,7 +21,7 @@ #include #include "sourcecodepro.h" -#include "third_party/raylib/src/raylib.h" +#include "raylib.h" #ifndef true #define true 1 @@ -454,7 +454,7 @@ int main(int argc, char *argv[]) DrawRectangleRounded((Rectangle){ start_x, 40, rect_w, (F32)(activity_time_d.y + activity_type_d.y) }, 0.3f, 100, BLACK); DrawRectangleRoundedLinesEx((Rectangle){ start_x, 40, rect_w, (F32)(activity_time_d.y + activity_type_d.y) }, 0.3f, 100, 2.0f, DARKGRAY); - // FIXME: We are pulling the aggregate seconds here from the activity statisctics. This is is wrong. + // FIXME: We are pulling the aggregate seconds here from the activity statisctics. This is wrong. DrawTextEx(state.font, str_activity_type, (Vector2){ start_x, 40.0f }, state.font_size - 5.0f, 2, WHITE); DrawTextEx(state.font, activities_stats[i].seconds_str, (Vector2){ start_x, 40.0f + (F32)(activity_type_d.y) }, state.font_size - 10.0f, 2, WHITE); }