aboutsummaryrefslogtreecommitdiff
path: root/src/tools/linux/symupload/Makefile
blob: 1fb843ee379c199bac7fb93e76f6b18f4ed786e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
CXX=g++

CXXFLAGS=-gstabs -I../../.. -Wall -D_REENTRANT

.PHONY:all clean

BIN=minidump_upload sym_upload

all:$(BIN)

DUMP_UPLOAD_OBJ=minidump_upload.o http_upload.o
SYM_UPLOAD_OBJ=sym_upload.o http_upload.o

minidump_upload:$(DUMP_UPLOAD_OBJ)
	$(CXX) $(CXXFLAGS) `curl-config --libs` -o $@ $^

sym_upload:$(SYM_UPLOAD_OBJ)
	$(CXX) $(CXXFLAGS) `curl-config --libs` -o $@ $^

http_upload.o:../../../common/linux/http_upload.cc
	$(CXX) $(CXXFLAGS) `curl-config --cflags` -c $^

clean:
	rm *.o $(BIN)