Skip to content

Commit

Permalink
No need to specify default rule %.cpp.o
Browse files Browse the repository at this point in the history
  • Loading branch information
crvs committed May 10, 2024
1 parent ce671b7 commit e5771f0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ all: KDTree
KDTree: KDTree.o
ar rvs libKDTree.a KDTree.o

KDTree.o: KDTree.cpp KDTree.hpp
$(CXX) $(CXXFLAGS) -c KDTree.cpp

install: KDTree
mkdir -p lib
mv libKDTree.a lib/
Expand All @@ -21,3 +18,4 @@ clean:

format:
git ls-tree -r --full-tree --name-only HEAD | grep '\.\(hpp\|h\|cpp\)$$' | xargs clang-format-14 -style=file:.clang-format.yml -i

0 comments on commit e5771f0

Please sign in to comment.