From e645b307a7a32c3c3d12989ccf6d60e324392d60 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sun, 1 Feb 2015 14:57:56 +0100 Subject: Begin work on UI --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 30369a0..4a1dfb4 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,9 @@ BIN=pathfind -$(BIN): *.cpp *.hpp - g++ -o $@ *.cpp -lm -O2 -std=c++11 +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 -- cgit v1.2.3