summaryrefslogtreecommitdiff
path: root/tools/doxy2json/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/doxy2json/Makefile')
-rw-r--r--tools/doxy2json/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/doxy2json/Makefile b/tools/doxy2json/Makefile
new file mode 100644
index 0000000000..885b756562
--- /dev/null
+++ b/tools/doxy2json/Makefile
@@ -0,0 +1,18 @@
+TARGET=doxy2json
+
+CXX=clang++
+CXXFLAGS=`llvm-config --cxxflags --ldflags` -lclang -std=c++11 -O2 -Wall -Wextra -pthread
+LOADLIBES=-lclang
+
+ifeq ($(shell uname -s), Darwin)
+CXXFLAGS+=-stdlib=libstdc++
+endif
+
+all: $(TARGET)
+
+$(TARGET): $(TARGET).cc
+
+clean:
+ @rm -f $(TARGET)
+
+.PHONY: test