aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 4a1dfb4abb3a213375d97df9a97570d5443d85b5 (plain) (blame)
1
2
3
4
5
6
7
8
9

BIN=pathfind

OBJ=problem.o ui.o main.o

$(BIN): *.hpp $(OBJ)
    g++ -o $@ $(OBJ) -lm -lsfml-system -lsfml-window -lsfml-graphics -O2 -std=c++11

%.o: %.cpp *.hpp
    g++ -c -o $@ $< -std=c++11 -O2