Add Display to Makefile
Didn't compile without it (undefined reference in linker)
This commit is contained in:
parent
cde73ff4c1
commit
548f0733ee
6
Makefile
6
Makefile
@ -7,13 +7,15 @@ 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=<sfml-install-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 :
|
||||
|
Loading…
x
Reference in New Issue
Block a user