summaryrefslogtreecommitdiff
path: root/tools/doxy2json/Makefile
blob: 885b756562709204a83068a266a8eddc91555b33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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