small fix
This commit is contained in:
parent
5ca2407325
commit
18cba33cff
@ -31,9 +31,9 @@ git clone --recurse-submodules https://timerix.ddns.net:3322/Timerix/GraphC.git
|
|||||||
4. Symlink SDL headers directory to `dependencies/include`
|
4. Symlink SDL headers directory to `dependencies/include`
|
||||||
```sh
|
```sh
|
||||||
cd GraphC
|
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`.
|
Mingw installs SDL2 headers to `/mingw64/include/SDL2`.
|
||||||
5. Compile the program
|
5. Compile the program
|
||||||
```sh
|
```sh
|
||||||
|
|||||||
2
dependencies/compile_resources.sh
vendored
2
dependencies/compile_resources.sh
vendored
@ -8,7 +8,7 @@ done
|
|||||||
mkdir -p ../obj
|
mkdir -p ../obj
|
||||||
mkdir -p ../bin
|
mkdir -p ../bin
|
||||||
set -x
|
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
|
gcc -Wall -Wextra -O2 -DEMBEDDED_RESOURCE_DEFINITION -c ../obj/resources.c -o ../bin/resources.o
|
||||||
set +x
|
set +x
|
||||||
cat ../obj/resources.c | head -n42 > ../../src/generated/resources.h
|
cat ../obj/resources.c | head -n42 > ../../src/generated/resources.h
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user