From 18cba33cff753f4594b600a3cc816e3512044f11 Mon Sep 17 00:00:00 2001 From: Timerix Date: Tue, 23 Jul 2024 02:51:43 +0500 Subject: [PATCH] small fix --- README.md | 4 ++-- dependencies/compile_resources.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9b9d7c8..8145ead 100644 --- a/README.md +++ b/README.md @@ -31,9 +31,9 @@ git clone --recurse-submodules https://timerix.ddns.net:3322/Timerix/GraphC.git 4. Symlink SDL headers directory to `dependencies/include` ```sh cd GraphC - ln -s SDL2_HEADERS_DIRECTORY_ABSOLUTE_PATH dependencies/include/ + ln -s SDL2_HEADERS_DIRECTORY_ABSOLUTE_PATH -T dependencies/include/SDL2 ``` - Location of the headers can be found by `pkg-config --cppflags --libs sdl2`. + Location of the headers can be found by `pkg-config --cflags --libs sdl2`. Mingw installs SDL2 headers to `/mingw64/include/SDL2`. 5. Compile the program ```sh diff --git a/dependencies/compile_resources.sh b/dependencies/compile_resources.sh index bb203ab..e3f151d 100755 --- a/dependencies/compile_resources.sh +++ b/dependencies/compile_resources.sh @@ -8,7 +8,7 @@ done mkdir -p ../obj mkdir -p ../bin set -x -./resource_embedder.exe -o ../obj/resources.c -d ../../resources $inputs +./resource_embedder -o ../obj/resources.c -d ../../resources $inputs gcc -Wall -Wextra -O2 -DEMBEDDED_RESOURCE_DEFINITION -c ../obj/resources.c -o ../bin/resources.o set +x cat ../obj/resources.c | head -n42 > ../../src/generated/resources.h