restructuration
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,3 +1,4 @@
|
||||
*.out
|
||||
*.swp
|
||||
*.igc
|
||||
lib/libraylib.a
|
||||
|
||||
19
README.md
19
README.md
@@ -6,19 +6,28 @@ Goals are: parsing an IGC file containing flight data, giving analytics about th
|
||||
|
||||
# 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 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
|
||||
|
||||
Now you can compile igcp and use it:
|
||||
|
||||
```
|
||||
make
|
||||
./a.out <file>
|
||||
```
|
||||
|
||||
# License
|
||||
|
||||
GNU GPL v3
|
||||
|
||||
0
lib/.gitkeep
Normal file
0
lib/.gitkeep
Normal file
BIN
lib/libraylib.a
BIN
lib/libraylib.a
Binary file not shown.
2
makefile
2
makefile
@@ -1,5 +1,5 @@
|
||||
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:
|
||||
rm a.out
|
||||
|
||||
Reference in New Issue
Block a user