KekEngine/windows/msys2_windows.sh

5 lines
450 B
Bash

#!/bin/sh
export PATH=$PATH:/mingw64/bin/
FILES="../src/cpp/gameobject.cpp ../src/cpp/light.cpp ../src/cpp/material.cpp ../src/cpp/object.cpp ../src/cpp/scene.cpp ../src/cpp/shader.cpp ../src/cpp/texture.cpp ../src/cpp/utils.cpp ../src/cpp/engine.cpp ../src/cpp/input.cpp ../src/cpp/game.cpp"
g++ -static-libgcc -static-libstdc++ -I../src/headers/ $FILES -lglfw3 -lopengl32 -lglew32 -Wl,-Bstatic -lstdc++ -lpthread -Wl,-Bdynamic -mwindows -o kek.exe