Skip to content

Commit c689fe7

Browse files
committed
Makefile: fix codesearch compilation errors
1 parent 9950305 commit c689fe7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,8 @@ bin/syz-extract:
243243
codesearch: bin/syz-codesearch
244244

245245
bin/syz-codesearch: tools/clang/codesearch/* tools/clang/*
246-
$(CXX) -Itools/clang $(shell llvm-config --cxxflags) -O2 -o $@ $< \
246+
mkdir -p bin
247+
$(CXX) -Itools/clang $(shell llvm-config --cxxflags) -O2 -o $@ tools/clang/codesearch/codesearch.cpp \
247248
-lclangTooling -lclangFrontend -lclangSerialization -lclangDriver \
248249
-lclangToolingCore -lclangParse -lclangSema -lclangAPINotes -lclangAnalysis \
249250
-lclangASTMatchers -lclangRewrite -lclangEdit -lclangAST -lclangLex -lclangBasic -lclangSupport \

0 commit comments

Comments
 (0)