aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: d37b2bc0fe3d338a5dfed6509e2f6409b8a55e15 (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 -g

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