diff --git a/Makefile b/Makefile index afbc00a..d4a36e5 100644 --- a/Makefile +++ b/Makefile @@ -7,14 +7,16 @@ CXXFLAGS = -Wall -O3 # If SFML is not installed in a standard path, you need to tell the dynamic linker where to find the SFML libraries first by specifying LD_LIBRARY_PATH: # export LD_LIBRARY_PATH=/lib && ./sfml-app -quickhull: main.o Timing.o +quickhull: main.o Timing.o Display.o # link with sfml libs; -lsfml-network -lsfml-audio currently not needed - $(CXX) $(CXXFLAGS) -o quickhull main.o Timing.o -lsfml-system -lsfml-window -lsfml-graphics + $(CXX) $(CXXFLAGS) -o quickhull main.o Timing.o Display.o -lsfml-system -lsfml-window -lsfml-graphics main.o: main.cpp Timing.h $(CXX) $(CXXFLAGS) -c main.cpp +Display.o: Display.h + Timing.o: Timing.h clean : - -rm *.o quickhull \ No newline at end of file + -rm *.o quickhull