roguelike/runningSFML.sh
Kishan Takoordyal 12c719225c
init
2020-11-15 10:56:33 +04:00

8 lines
209 B
Bash
Executable File

#! /bin/bash
SFML=/usr/local/SFML
g++ -c main.cpp -I $SFML/include
g++ main.o -o sfml-app -L $SFML/lib -lsfml-graphics -lsfml-audio -lsfml-window -lsfml-system
export LD_LIBRARY_PATH=$SFML/lib && ./sfml-app