summaryrefslogtreecommitdiff
path: root/tools/doxy2json/Makefile
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-04-11 16:16:52 +0200
committerRobin Gareus <robin@gareus.org>2016-04-11 16:16:52 +0200
commit4eba3869feab704aaacbc3aee30407beedb128f2 (patch)
treeac3110bd11778e87b7728fcefe1e24d6015a9bb7 /tools/doxy2json/Makefile
parent957a18f63593d2f8d2bca8f80a6f1e6ae19f71a0 (diff)
update lua documentation tools
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