aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: b0c9fe9047961761eae39f53daf9c2f0d9f7d98e (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 -Wall -Wextra