restructuration

This commit is contained in:
2025-11-08 10:10:11 +01:00
parent 12ea087cae
commit fed66fbea8
10 changed files with 16 additions and 6 deletions

1
.gitignore vendored
View File

@@ -1,3 +1,4 @@
*.out *.out
*.swp *.swp
*.igc *.igc
lib/libraylib.a

View File

@@ -6,19 +6,28 @@ Goals are: parsing an IGC file containing flight data, giving analytics about th
# Dependencies # Dependencies
These are mainly for Raylib (the 3D library): These are mainly for building the project, and for Raylib (the 3D graphic library):
``` ```
sudo apt install libasound2-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev libxcursor-dev libxinerama-dev libwayland-dev libxkbcommon-dev sudo apt install libasound2-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev libxcursor-dev libxinerama-dev libwayland-dev libxkbcommon-dev
sudo apt install build-essential git
```
You will have to compile Raylib, and then copy the archive file into igcp's `lib` directory:
```
git clone --depth 1 https://github.com/raysan5/raylib.git raylib
cd raylib/src/
make PLATFORM=PLATFORM_DESKTOP
cp libraylib.a PATH/TO/igcp/lib/
``` ```
# Compilation & Usage # Compilation & Usage
Now you can compile igcp and use it:
``` ```
make make
./a.out <file> ./a.out <file>
``` ```
# License
GNU GPL v3

0
lib/.gitkeep Normal file
View File

Binary file not shown.

View File

@@ -1,5 +1,5 @@
all: all:
gcc -Wall -g linkage.c igc.c main.c -I./include -L./lib -lraylib -lGL -lEGL -lGLESv2 -lm -lpthread -ldl -lrt -lX11 gcc -Wall -g src/linkage.c src/igc.c src/main.c -I./include -L./lib -lraylib -lGL -lEGL -lGLESv2 -lm -lpthread -ldl -lrt -lX11
clean: clean:
rm a.out rm a.out

View File

View File

View File