generated from karl/cpp-template
Add geometry as dependency to Makefile
It compiled earlier too, but it didn't recognize changes in geometry.h
This commit is contained in:
parent
d966beeb15
commit
d36181393f
2
Makefile
2
Makefile
@ -4,7 +4,7 @@ CXXFLAGS = -Wall -O3
|
|||||||
kdtree: main.o
|
kdtree: main.o
|
||||||
$(CXX) $(CXXFLAGS) -o kdtree.out main.o
|
$(CXX) $(CXXFLAGS) -o kdtree.out main.o
|
||||||
|
|
||||||
main.o: main.cpp kdtree.h
|
main.o: main.cpp kdtree.h geometry.h
|
||||||
$(CXX) $(CXXFLAGS) -c main.cpp
|
$(CXX) $(CXXFLAGS) -c main.cpp
|
||||||
|
|
||||||
clean :
|
clean :
|
||||||
|
Loading…
x
Reference in New Issue
Block a user