blob: 7d4257d87248e83fd10dd5b9dc88c9cfa48fa2c0 (
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
|
CC=g++
CPPFLAGS=-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)
$(CC) $(CPPFLAGS) `curl-config --libs` -o $@ $^
sym_upload:$(SYM_UPLOAD_OBJ)
$(CC) $(CPPFLAGS) `curl-config --libs` -o $@ $^
http_upload.o:../../../common/linux/http_upload.cc
$(CC) $(CPPFLAGS) `curl-config --cflags` -c $^
clean:
rm *.o $(BIN)
|