aboutsummaryrefslogtreecommitdiff
path: root/src/tools/linux/dump_syms/Makefile
blob: 874919965547c089fa04a58633e8f6a0ddcb8b81 (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
25
26
27
28
CPP=g++
CC=gcc

CPPFLAGS=-gstabs -I../../.. -Wall -D_REENTRANT
LDFLAGS=-lssl

.PHONY:all clean

BIN=dump_syms

all:$(BIN)

DUMP_OBJ=dump_symbols.o guid_creator.o dump_syms.o file_id.o

dump_syms:$(DUMP_OBJ)
	$(CPP) $(CPPFLAGS) $(LDFLAGS) -o $@ $^

dump_symbols.o:../../../common/linux/dump_symbols.cc
	$(CPP) $(CPPFLAGS) -c $^

guid_creator.o:../../../common/linux/guid_creator.cc
	$(CPP) $(CPPFLAGS) -c $^

file_id.o:../../../common/linux/file_id.cc
	$(CPP) $(CPPFLAGS) -c $^

clean:
	rm -f $(BIN) $(DUMP_OBJ)