aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAlex Auvolat <alex.auvolat@ens.fr>2015-02-01 14:57:56 +0100
committerAlex Auvolat <alex.auvolat@ens.fr>2015-02-01 14:57:56 +0100
commite645b307a7a32c3c3d12989ccf6d60e324392d60 (patch)
tree0951cf98cba65b5dd547845d59d4601ed6a9ec32 /Makefile
parent97cb291cc348acb925e99144c725869e05ff4f46 (diff)
downloadRobotique-Projet-e645b307a7a32c3c3d12989ccf6d60e324392d60.tar.gz
Robotique-Projet-e645b307a7a32c3c3d12989ccf6d60e324392d60.zip
Begin work on UI
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
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