removed Timing class for only one measure output
This commit is contained in:
parent
4e97501e1e
commit
2b2ed8cf06
8
Makefile
8
Makefile
@ -8,19 +8,17 @@ SFMLFLAGS = -lsfml-system -lsfml-window -lsfml-graphics
|
|||||||
# 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:
|
# 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=<sfml-install-path>/lib && ./sfml-app
|
# export LD_LIBRARY_PATH=<sfml-install-path>/lib && ./sfml-app
|
||||||
|
|
||||||
quickhull: main.o Quickhull.h Point.h Line.h Triangle.h Timing.o Display.o
|
quickhull: main.o Quickhull.h Point.h Line.h Triangle.h Display.o
|
||||||
# link with sfml libs; -lsfml-network -lsfml-audio currently not needed
|
# link with sfml libs; -lsfml-network -lsfml-audio currently not needed
|
||||||
$(CXX) $(CXXFLAGS) -o quickhull main.o Quickhull.h Point.h Line.h Triangle.h Timing.o Display.o $(SFMLFLAGS)
|
$(CXX) $(CXXFLAGS) -o quickhull main.o Quickhull.h Point.h Line.h Triangle.h Display.o $(SFMLFLAGS)
|
||||||
|
|
||||||
performance: performance.cpp Display.o
|
performance: performance.cpp Display.o
|
||||||
$(CXX) $(CXXFLAGS) -o performance Display.o performance.cpp $(SFMLFLAGS)
|
$(CXX) $(CXXFLAGS) -o performance Display.o performance.cpp $(SFMLFLAGS)
|
||||||
|
|
||||||
main.o: main.cpp Timing.h
|
main.o: main.cpp
|
||||||
$(CXX) $(CXXFLAGS) -c main.cpp
|
$(CXX) $(CXXFLAGS) -c main.cpp
|
||||||
|
|
||||||
Display.o: Display.h
|
Display.o: Display.h
|
||||||
|
|
||||||
Timing.o: Timing.h
|
|
||||||
|
|
||||||
clean :
|
clean :
|
||||||
-rm *.o quickhull performance
|
-rm *.o quickhull performance
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
#include <chrono>
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
#include "Quickhull.h"
|
#include "Quickhull.h"
|
||||||
#include "NumberGenerator.h"
|
#include "NumberGenerator.h"
|
||||||
#include "Display.h"
|
#include "Display.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user