linux build

This commit is contained in:
Daniel Ledda
2025-01-07 10:29:07 +01:00
parent 6872ebf418
commit b84b59df09
4 changed files with 13 additions and 7 deletions

6
build
View File

@@ -1,4 +1,8 @@
#!/bin/bash
LIB_INCLUDE="-lglfw -lGLU -lGL -lXrandr -lXxf86vm -lXi -lXinerama -lX11 -lrt -ldl"
LIB_INCLUDE="-lglfw -lGL"
g++ -g -g3 -DOS_LINUX=1 -DENABLE_ASSERT=1 ./src/main.cpp -o ./target/somaesque $LIB_INCLUDE
pushd target
./somaesque
popd