aboutsummaryrefslogtreecommitdiff
path: root/src/tools/linux/symupload/Makefile
blob: c0c49eed21db88e3d021fed564405703e4b0f639 (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) -ldl -o $@ $^

sym_upload:$(SYM_UPLOAD_OBJ)
	$(CXX) $(CXXFLAGS) -ldl -o $@ $^

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

clean:
	rm *.o $(BIN)